kernel: remove open flag assert

This commit is contained in:
Matheus
2023-05-13 22:30:11 -03:00
parent 220416e16f
commit 55967dacfb
-2
View File
@@ -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;