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 -1
View File
@@ -31,7 +31,8 @@ typedef struct polldata {
} polldata_t;
#define POLL_INITHEADER(x) \
SPINLOCK_INIT((x)->lock);
SPINLOCK_INIT((x)->lock); \
(x)->data = NULL;
int poll_initdesc(polldesc_t *, size_t size);
void poll_add(pollheader_t *, polldata_t *, int events);