mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 14:08:21 +00:00
kernel: rename VOP and syscall
This commit is contained in:
@@ -39,6 +39,7 @@ extern syscall_ftruncate
|
||||
extern syscall_mount
|
||||
extern syscall_fchownat
|
||||
extern syscall_utimensat
|
||||
extern syscall_renameat
|
||||
syscalltab:
|
||||
dq syscall_print
|
||||
dq syscall_mmap
|
||||
@@ -80,7 +81,8 @@ dq syscall_ftruncate
|
||||
dq syscall_mount
|
||||
dq syscall_fchownat
|
||||
dq syscall_utimensat
|
||||
syscallcount equ 40
|
||||
dq syscall_renameat
|
||||
syscallcount equ 41
|
||||
section .text
|
||||
global arch_syscall_entry
|
||||
; on entry:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#ifdef SYSCALL_LOGGING
|
||||
|
||||
#define SYSCALL_COUNT 40
|
||||
#define SYSCALL_COUNT 41
|
||||
#define LOGSTR(x) arch_e9_puts(x)
|
||||
|
||||
static char *name[] = {
|
||||
@@ -48,6 +48,7 @@ static char *name[] = {
|
||||
"mount",
|
||||
"fchownat",
|
||||
"utimensat",
|
||||
"renameat"
|
||||
};
|
||||
|
||||
static char *args[] = {
|
||||
@@ -90,7 +91,8 @@ static char *args[] = {
|
||||
"fd %d size %lu", // ftruncate
|
||||
"backing %p mountpoint %s fs %s flags %d data %p", // mount
|
||||
"fd %d path %s owner %d group %d flags %x", // fchownat
|
||||
"dirfd %d path %p times %p flags %x" // utimensat
|
||||
"dirfd %d path %p times %p flags %x", // utimensat
|
||||
"olddirfd %d oldpath %s newdirfd %d newpath %s flags %d" // renameat
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user