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
+3 -1
View File
@@ -93,6 +93,7 @@ extern syscall_sigpending
extern syscall_killthread
extern syscall_shutdown
extern syscall_nice
extern syscall_flock
syscalltab:
dq syscall_print
dq syscall_mmap
@@ -188,7 +189,8 @@ dq syscall_sigpending
dq syscall_killthread
dq syscall_shutdown
dq syscall_nice
syscallcount equ 94
dq syscall_flock
syscallcount equ 95
section .text
global arch_syscall_entry
; on entry:
+5 -3
View File
@@ -5,7 +5,7 @@
#ifdef SYSCALL_LOGGING
#define SYSCALL_COUNT 94
#define SYSCALL_COUNT 95
#define LOGSTR(x) arch_e9_puts(x)
static char *name[] = {
@@ -102,7 +102,8 @@ static char *name[] = {
"sigpending",
"killthread",
"shutdown",
"nice"
"nice",
"flock"
};
static char *args[] = {
@@ -199,7 +200,8 @@ static char *args[] = {
"sigset %p", // sigpending
"pid %d tid %d signal %d", // killthread
"how %d", // shutdown
"off %d" // nice
"off %d", // nice
"fd %d op %d" // flock
};
#endif