Files
Don Porter c68cb42e20 Address a TOCTTOU vulnerability in SGX read/map (#131)
* Fix a bug where configuration error ends up doing a huge allocation, rather than catching the error.  Add some documentation to the slabmgr code.

* Add a unit test and some documentation to answer the question in issue #107.  I can't see how offset and map_start would end up being different.

* Rewrite of SGX file_map to remove TOCTTTOU now passes all unit tests

* Apply a similar fix to file_read.

* Factor complicated verification code into a common helper routine.

* Adjust the memory copying strategy so that all bits in the returned buffed are exactly the same bits as verified in the trusted, scratch buffer.

* Fixing the TOCTOU issue in file checking

* Adding comments for load_trusted_file() and copy_and_check_trusted_file(); Deprecate the old design

* Documenting the file checking mechanism
2018-10-24 14:51:06 -04:00
..
2018-08-13 09:53:52 -04:00
2016-07-19 19:45:55 -04:00
2015-05-20 14:15:52 -04:00
2016-07-19 19:45:55 -04:00
2015-05-20 14:15:52 -04:00
2016-07-19 19:45:55 -04:00
2016-07-19 19:45:55 -04:00
2016-07-19 19:45:55 -04:00
2015-05-20 14:15:52 -04:00
2015-05-20 16:11:27 -04:00
2015-05-20 14:15:52 -04:00
2015-11-30 08:38:50 -05:00
2016-03-02 22:34:57 -05:00
2015-05-20 14:15:52 -04:00
2015-05-20 14:15:52 -04:00
2015-05-20 14:15:52 -04:00
2016-07-19 19:45:55 -04:00
2016-07-19 19:45:55 -04:00
2016-07-19 19:45:55 -04:00
2016-07-19 19:45:55 -04:00
2015-05-20 14:15:52 -04:00
2016-07-19 19:45:55 -04:00
2015-05-20 14:15:52 -04:00
2015-05-20 14:15:52 -04:00