mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
vfs: advisory locking + flock syscall
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user