mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 13:51:28 +00:00
* 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