Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LibOS] Fix flag printing in syscall parser
Previously, Gramine assumed the existence of mapping type in mmap flags on syscall arg parsing. It had assertions on such flags which could lead to failures in debug mode in case of missing them. Besides, Gramine also incorrectly parsed file access modes in open flags. This commit fixes the above issues and makes Gramine fail with the same error on syscall handling as Linux does (on incorrect flags). Signed-off-by: Kailun Qin <kailun.qin@intel.com>
- Loading branch information