Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit 0433461

Browse files
authored
License change to LGPL (#140)
* Update all headers to reflect LGPL license. * Add submodule for gcc test inputs * Add submodule for lmbench-2.5 * Fix Travis build with submodules * Migrate driver to sub repository * Migrate driver to sub repository
1 parent b2b20cf commit 0433461

File tree

402 files changed

+1012
-861203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

402 files changed

+1012
-861203
lines changed

.gitmodules

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "LibOS/shim/test/apps/gcc/test_files"]
2+
path = LibOS/shim/test/apps/gcc/test_files
3+
url = https://github.com/oscarlab/gcc_test_files.git
4+
[submodule "LibOS/shim/test/apps/lmbench/lmbench-2.5"]
5+
path = LibOS/shim/test/apps/lmbench/lmbench-2.5
6+
url = https://github.com/oscarlab/lmbench-2.5.git
7+
[submodule "Pal/src/host/Linux-SGX/sgx-driver"]
8+
path = Pal/src/host/Linux-SGX/sgx-driver
9+
url = https://github.com/oscarlab/graphene-sgx-driver.git

LICENSE.addendum.txt

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
Graphene itself is licensed under the LGPL.
2+
3+
Graphene on an SGX host requires a kernel driver (in
4+
Pal/src/host/Linux-SGX/sgx-driver), which is separately licensed under
5+
the GPL.
6+
17
Graphene also includes the following third party sources (and licenses):
28

39
mbedtls crypto libraries - Apache 2.0
410

511
RSA's MD5 algorithm (LibOS/shim/src/utils/md5.c) - RSA custom attribution license
612

7-
Linux kernel - GPL v2
8-
- dcache implementation
9-
- atomic_add, cmpxchg and friends implementation
10-
1113
Internet Software Consortium (permissive license): Pal/lib/network/inet_pton.c
1214

1315
MIT JOS (mix of MIT and BSD licenses:
@@ -31,6 +33,8 @@ A number of files taken from other C libraries:
3133
** Pal/src/host/Linux/include/ - whole directory - for signal API definitions
3234
** We also build a patched glibc, but this could be moved into a separate repo
3335

34-
Some app and benchmark sources are redistributed under LibOS/shim/test/apps. These should probably be moved to subrepositories.
35-
36+
Some app and benchmark sources are redistributed under
37+
LibOS/shim/test/apps. These will be migrated to subrepositories, as
38+
needed, and should be considered separate projects, subject to their
39+
original licenses.
3640

LICENSE.txt

+161-671
Large diffs are not rendered by default.

LibOS/shim/include/shim_checkpoint.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_fs.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_handle.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_internal.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_ipc.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_ipc_ns.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_profile.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_sysv.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_utils.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/include/shim_vma.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/src/bookkeep/shim_handle.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/src/bookkeep/shim_signal.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/src/bookkeep/shim_thread.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

LibOS/shim/src/bookkeep/shim_vma.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
22
/* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
33

4-
/* Copyright (C) 2014 OSCAR lab, Stony Brook University
4+
/* Copyright (C) 2014 Stony Brook University
55
This file is part of Graphene Library OS.
66
77
Graphene Library OS is free software: you can redistribute it and/or
8-
modify it under the terms of the GNU General Public License
8+
modify it under the terms of the GNU Lesser General Public License
99
as published by the Free Software Foundation, either version 3 of the
1010
License, or (at your option) any later version.
1111
1212
Graphene Library OS is distributed in the hope that it will be useful,
1313
but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
GNU General Public License for more details.
15+
GNU Lesser General Public License for more details.
1616
17-
You should have received a copy of the GNU General Public License
17+
You should have received a copy of the GNU Lesser General Public License
1818
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1919

2020
/*

0 commit comments

Comments
 (0)