Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(hypercall): check flags for mapped dir's files
Given our recently added support for directories, it is possible for a kernel to erroneously create a file inside of a mapped directory using the flags O_DIRECTORY | O_CREAT. This fixes an inconsistency where the presence of both flags at the same time (which should return -EINVAL) only takes place for temporary files.
- Loading branch information