mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +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
|
// transform O_RDONLY, O_WRONLY, O_RDWR into FILE_READ and FILE_WRITE
|
||||||
++flags;
|
++flags;
|
||||||
|
|
||||||
__assert((~FILE_KNOWN_FLAGS & flags) == 0);
|
|
||||||
|
|
||||||
vnode_t *dirnode = NULL;
|
vnode_t *dirnode = NULL;
|
||||||
file_t *dirfile;
|
file_t *dirfile;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user