kernel: rename VOP and syscall

This commit is contained in:
Matheus
2023-09-17 01:31:40 -03:00
parent 7173c11e59
commit ac0961c9a6
7 changed files with 167 additions and 7 deletions
+3 -1
View File
@@ -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 -2
View File
@@ -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