vfs: advisory locking + flock syscall

This commit is contained in:
Matheus
2025-09-12 00:34:49 -03:00
parent 39ba23f572
commit b6e76f3d1f
14 changed files with 319 additions and 13 deletions
+2
View File
@@ -4,6 +4,7 @@
#include <kernel/vfs.h>
#include <mutex.h>
#include <kernel/scheduler.h>
#include <kernel/event.h>
typedef struct file_t {
vnode_t *vnode;
@@ -12,6 +13,7 @@ typedef struct file_t {
mode_t mode;
uintmax_t offset;
int flags;
advlock_t *advlock;
} file_t;
typedef struct fd_t {