Commit Graph

  • 7e67394e9e add AES-GCM Chia-Che Tsai 2017-03-27 12:25:32 -04:00
  • b926dfec43 Fix SGX Pal regression by defining an expected behavior for NULL URI to DkProcessCreate. Don Porter 2017-03-22 20:55:37 -04:00
  • 9a7e6d6fde Get this unit test working again; this test is somewhat at odds with inferring the executable from the manifest Don Porter 2017-03-21 22:52:38 -04:00
  • cf2a3f966a Fix another PAL unit test Don Porter 2017-03-20 19:59:25 -04:00
  • 7d98e8ca28 Debug waitpid tests (partially): Fix exit status wrt signals, support nlink in the chroot fs. We don't currently support core dumps from graphene, so some waitpid tests will fail for this reason. Don Porter 2017-03-19 16:04:21 -04:00
  • 98488103a2 Parallel LTP Don Porter 2017-03-03 21:02:56 -05:00
  • c8fed99357 Also, clone05 is not supported Don Porter 2017-03-03 20:49:07 -05:00
  • 7673b71349 Not expecting to pass the umask test yet Don Porter 2017-03-03 20:43:21 -05:00
  • 7ce7c064c7 Further refine SIGSEGV vs SIGBUSS semantics. Tweak the LTP rules a bit. Don Porter 2017-03-03 20:41:45 -05:00
  • 1c51584792 Fix some getdents bugs, drop a few flaky tests from the PASSED list. Don Porter 2017-03-03 19:41:16 -05:00
  • 8084799e35 Fix signal regression. Don Porter 2017-03-03 17:47:40 -05:00
  • 01d23117bd Fix an issue with loader not handling implicit manifests Don Porter 2017-03-03 14:33:08 -05:00
  • 88162e9679 Update list of LTP tests that should pass Don Porter 2017-03-03 14:12:15 -05:00
  • 4d8eacdd44 Merge pull request #49 from jovanbulck/memset-bugfix Don Porter 2017-03-23 23:12:09 -04:00
  • 48a1edf76e Bugfix to prevent infinite hanging. Jo Van Bulck 2017-03-22 18:43:54 +01:00
  • 3cf3bd2df3 fix a bug in allocating enclave pages. another bug in waking enclave threads Chia-Che Tsai 2017-02-11 16:11:20 -05:00
  • 547f1ed042 fix a typo Chia-Che Tsai 2017-02-11 10:17:55 -05:00
  • 51292da629 fix a typo Chia-Che Tsai 2017-02-11 10:09:00 -05:00
  • b564623f68 fix a typo Chia-Che Tsai 2017-02-11 10:04:41 -05:00
  • d9976ed5a5 minor fixes Chia-Che Tsai 2017-02-11 09:58:49 -05:00
  • 6eee338c70 avoiding repeating glibc compilation during one build Chia-Che Tsai 2017-02-11 09:57:02 -05:00
  • 73871c88cf Describing the security issues in Pal/src/host/Linux-SGX/enclave_entry.S Chia-Che Tsai 2017-02-11 09:50:10 -05:00
  • faaf84103e silent glibc compilation and redirect the log into a file Chia-Che Tsai 2017-02-11 09:37:19 -05:00
  • 76967f39d3 Bugfixes: - Fixing AES-CMAC algorithm - Using SHA512 to hash file stubs (much faster than SHA256 and AES-CMAC) - Hardening enclave interface (still work-in-progress); delt with issue #28 - Handling socket/pipe polling better - Allowing setting the lowest heap address in enclaves ('sgx.heap_min' in manifest) - Fixing the pipe between processes (for SGX) - Fixing race condition in futex handling in LibOS - Inheriting epoll handles in forked chilren - Assigning signal code (now only hard-coding FPE_INTDIV, BUS_ADRERR, SEGV_ACCERR, SEGV_MAPERR) - Fixing race condition in vma allocation (likely to fix bug() in bookkeep/shim_vma.c) - Clearer debug message in LibOS - Fixing calling convention in LibOS and glibc - Fixing futex behavior (FUTEX_WAIT takes relative time, FUTEX_WAIT_BITSET takes absolute time) - More system call implemented - More application working (NGINX) Chia-Che Tsai 2017-02-11 09:03:47 -05:00
  • fffcb6a366 Add a few PAL unit tests for Semaphores, fix some bugs, add documentation on semaphore/wait interfaces. Don Porter 2017-02-04 22:48:55 -05:00
  • 890073d515 Minor fix - host mode now needs 1 pages for the PAL stack. Don Porter 2017-02-04 17:19:28 -05:00
  • 11029ffff8 Futex and clone fixes. New futex unit test. May help issue #40. Don Porter 2017-02-04 16:39:01 -05:00
  • c3f9f248dc Minor cleanup Don Porter 2017-02-03 00:01:03 -05:00
  • 28585ad957 Fix build of python on SGX (#41) Don Porter 2017-02-02 23:58:56 -05:00
  • eb8f612d0b Set an appropriate timeout for large-mmap test on SGX Don Porter 2017-02-02 17:44:18 -05:00
  • 04fe97ec0e A few more fixes Don Porter 2017-02-02 17:26:32 -05:00
  • 64a4804cd2 More fixes Don Porter 2017-02-02 14:47:06 -05:00
  • c4498e9adb More fixes Don Porter 2017-02-02 12:47:36 -05:00
  • 2dea7ce7f6 Another fix Don Porter 2017-02-02 11:04:03 -05:00
  • cc49984e01 Build fixes Don Porter 2017-02-02 11:01:23 -05:00
  • 2d4bfeeb29 move pal_loader to Runtime. finding manifest.sgx from manifest Chia-Che Tsai 2017-02-02 03:41:54 -05:00
  • 079fbbac59 fix dotdot case for real Chia-Che Tsai 2017-02-01 21:22:40 -05:00
  • bfeb4904f6 never mind Chia-Che Tsai 2017-01-30 04:12:01 -05:00
  • e75bce0425 print host in pal_loader Chia-Che Tsai 2017-01-30 04:10:36 -05:00
  • 70868102a9 minor Chia-Che Tsai 2017-01-29 21:36:03 -05:00
  • 9aee3dcb69 new compilation logistic: always use the Runtime directory Chia-Che Tsai 2017-01-29 21:22:20 -05:00
  • f2c36a1268 minor fixes Chia-Che Tsai 2017-01-30 03:57:47 -05:00
  • 872af4984c Futex bugfixes (may help #40), more enhancements to LTP framework. Don Porter 2017-01-28 16:14:30 -05:00
  • 9882cad859 check return codes in semaphore implementation Don Porter 2017-01-28 09:21:34 -05:00
  • c0830fbc03 better handling of mmap() with MAP_FIXED or address hint Don Porter 2017-01-28 09:21:23 -05:00
  • 5a5a7e4eb5 fix for build failure propagation Don Porter 2017-01-28 09:21:08 -05:00
  • 10f53979b5 Ignore output/temporary files from LTP Don Porter 2017-01-28 08:54:25 -05:00
  • 791c743610 Fix Don Porter 2017-01-27 19:22:13 -05:00
  • ec588882ba Some bugfixes from Arjun Don Porter 2017-01-27 19:07:47 -05:00
  • 0ff2ac4f77 Squashed commit of the following: Don Porter 2017-01-21 18:28:22 -05:00
  • debf5fdeb0 Merge pull request #37 from adombeck/master Don Porter 2017-01-23 11:53:37 -05:00
  • f46ea38769 Fix issue #38 Don Porter 2017-01-21 22:48:28 -05:00
  • 1575ef154e Clearer error message on non-power-of-two enclave size. Issue #39 Don Porter 2017-01-21 15:06:37 -05:00
  • b3da2aff67 Add a unit test and clearer debug print for issue #39 Don Porter 2017-01-21 13:59:37 -05:00
  • c7000be86a Fix check for NULL after malloc Adrian Dombeck 2017-01-17 16:20:12 +01:00
  • a962489841 Fix ls.manifest.template Adrian Dombeck 2017-01-17 12:10:59 +01:00
  • fba92d6a28 Bugfies: - Fix #34 - Reserving syscall numbers above 300 - Implement sendmmsg and recvmmsg. - Proper usage of PAL_STRERROR in PAL - Remove DEBUG_MUTEX Chia-Che Tsai 2017-01-14 13:53:26 -05:00
  • 469906ad14 a minor change Chia-Che Tsai 2017-01-14 07:52:49 -05:00
  • b6e06b5f79 - add linux-test-project to apps - add memcached to apps - merge #33 - merge #35 - fix futex() implementation in libOS - fix partial alarm() implementation in libOS - fix memory corruption in handle_map - correct DkNotificationEventCreate usage - add syscall chown() - add syscall rt_sigsuspend() - add syscall fchownat() - fix getrlimit() implementation in libOS - add syscall setrlimit() - add ioctl(FIONBIO) implementation - fix partial polling behavior - implement AF_UNSPEC for sockets - implement ipv4 mapped ipv6 addresses - use AES-NI for encryption in SGX PAL - rewrite mutex implementation in Linux PAL and SGX PAL - rewrite exception handling in Linux PAL and SGX PAL - fix issue #27 Chia-Che Tsai 2017-01-14 07:43:32 -05:00
  • 7e4f03a773 Try specifying trusty as the OS Don Porter 2017-01-09 16:35:48 -05:00
  • 85a17015c4 Test installation too Don Porter 2017-01-09 16:25:22 -05:00
  • ecaca9e393 Try again, with less verbose Make output Don Porter 2017-01-09 16:14:15 -05:00
  • 1ac40891ff This is not going to work. Don Porter 2017-01-09 15:44:51 -05:00
  • fa2f9ce3eb Play with Travis CI. This attempt will fail. Don Porter 2017-01-09 14:37:26 -05:00
  • df4af2451d reverse the last patch that replaces realpath with python commands Chia-Che Tsai 2016-12-05 08:19:24 -05:00
  • 4355d39e30 Merge pull request #21 from adombeck/master Chia-Che Tsai 2016-12-05 08:15:08 -05:00
  • 855fd142ff Fix trusted_file entries in ls.manifest.template Adrian Dombeck 2016-12-05 14:01:04 +01:00
  • 3a075ba442 Replace realpath with Python code Adrian Dombeck 2016-12-05 13:52:34 +01:00
  • 443f1eb8d0 Merge branch 'master' of https://github.com/oscarlab/graphene Adrian Dombeck 2016-12-05 10:30:45 +01:00
  • 354a2e202d retire glibc-2.17 Chia-Che Tsai 2016-12-02 00:49:04 -05:00
  • 387b14606c fix #8 Chia-Che Tsai 2016-12-02 00:33:12 -05:00
  • 27ed3b2f6b - Fix calling convention issues in the glibc 2.19 patch - Port gipc module to Linux kernel 4.3 - Simplify PAL signal handling - Fix bug #4 (epoll-related syscalls) - Fix bug #10 - Fix bug #14 - Merge pull request #18 Chia-Che Tsai 2016-12-02 00:24:05 -05:00
  • c88b6539a3 Minor fixes in the README Adrian Dombeck 2016-11-28 17:14:00 +01:00
  • 7d14dc0dce Ignore cached so Don Porter 2016-11-20 23:04:16 -05:00
  • 62d2cfc6c5 Misc bugfixes, mostly in sockets and memory mapping Don Porter 2016-11-20 23:03:18 -05:00
  • 2c03ba1566 Minor: Better to explicitly check the domain. Don Porter 2016-11-20 20:37:51 -05:00
  • 3530d09b0b Accept Pull Reqest for Issue #16. Don Porter 2016-11-20 20:33:23 -05:00
  • 2ce5803616 Merge branch 'master' of git://github.com/woonhak/graphene into woonhak-master Don Porter 2016-11-20 20:21:03 -05:00
  • d0ca9ada03 Port PAL to work on latest SGX driver (Issue #12). Fix a few other SGX-related bugs. Don Porter 2016-11-20 15:30:33 -05:00
  • d673986a6c adding description about the dependency to python-protobuf python-crypto. Chia-Che Tsai 2016-11-14 14:34:48 -05:00
  • 9743bcd433 fix unix socket(pipe) test woonhak 2016-11-13 23:32:19 -05:00
  • e94285a566 fix bug connect AF_UNIX woonhak 2016-11-13 23:14:59 -05:00
  • 5966c2d2fe fix local socket bind bug woonhak 2016-11-11 16:48:43 -05:00
  • df92eeeaf6 Merge branch 'master' of https://github.com/oscarlab/graphene Chia-Che Tsai 2016-10-25 23:04:54 -04:00
  • 2dde1dc93c bugfix: buildglibc.py fails with corrupted links Chia-Che Tsai 2016-10-25 23:04:45 -04:00
  • 4a20c1d188 Add case 2 to the regression test for #11. Don Porter 2016-10-25 23:04:02 -04:00
  • 760446deac Address bug report #11, by using 64-bit offsets and lengths internally. Create a regression test to capture this case Don Porter 2016-10-25 22:51:39 -04:00
  • c3f267b033 Address bug report #11, by using 64-bit offsets and lengths internally. Create a regression test to capture this case Don Porter 2016-10-25 22:51:28 -04:00
  • d3d3c0116a Make fdatasync a wrapper for fsync, for now. Assuming no apps rely on data-only sync for correctness. Don Porter 2016-10-21 00:14:13 -04:00
  • 14b34f37ac A more sensible error message if the host denies permission to the manifest file Don Porter 2016-10-20 23:09:50 -04:00
  • e2e01667c2 Bugfixes: - Printing unsupported system calls to stdout (when DEBUG=1) - Implementing ioctl code FIONCLEX and FIOCLEX - Rewriting nested functions in libsysdb. GCC 5 causes segmentation fault when passing nested functions as callbacks. - Fixing Bash manifest template Chia-Che Tsai 2016-10-13 16:45:32 -04:00
  • c2c92723b9 bugfix: process forking in LibOS experiment: make Apache, Lighttpd and GCC work with SGX Chia-Che Tsai 2016-08-31 16:35:48 -04:00
  • 8cc0920bf4 bugfixes: TCP/UDP sockets fail to return addresses when running in enclaves Chia-Che Tsai 2016-08-23 16:33:37 -04:00
  • dc66a38e7f bugfix: unnormalized manifest paths cause regression test failed Chia-Che Tsai 2016-08-23 15:28:22 -04:00
  • 46abc3beea bugfix: snprintf returns wrong # of written characters; and can potentially go overflow Chia-Che Tsai 2016-08-23 15:26:27 -04:00
  • 3f1f052d00 Enable FSGSBASE in Linux-SGX driver for Linux < 4.0.0 Chia-Che Tsai 2016-08-10 18:25:41 -04:00
  • cdba666030 remove use of temp file in pal-sgx-sign Chia-Che Tsai 2016-07-28 10:57:37 -04:00
  • 99582146ec missing Makefile.lmbench file Chia-Che Tsai 2016-07-20 16:40:07 -04:00
  • bf2a41a301 .gitignore Chia-Che Tsai 2016-07-19 21:39:53 -04:00
  • 0eb21858b0 add more instructions for the SGX support Chia-Che Tsai 2016-07-19 21:32:19 -04:00