mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
kernel: remove open flag assert
This commit is contained in:
@@ -14,8 +14,6 @@ syscallret_t syscall_openat(context_t *context, int dirfd, const char *path, int
|
||||
// transform O_RDONLY, O_WRONLY, O_RDWR into FILE_READ and FILE_WRITE
|
||||
++flags;
|
||||
|
||||
__assert((~FILE_KNOWN_FLAGS & flags) == 0);
|
||||
|
||||
vnode_t *dirnode = NULL;
|
||||
file_t *dirfile;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user