mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
syscalls: mknodat
This commit is contained in:
@@ -77,6 +77,7 @@ extern syscall_pause
|
||||
extern syscall_ppoll
|
||||
extern syscall_pread
|
||||
extern syscall_pwrite
|
||||
extern syscall_mknodat
|
||||
syscalltab:
|
||||
dq syscall_print
|
||||
dq syscall_mmap
|
||||
@@ -156,7 +157,8 @@ dq syscall_pause
|
||||
dq syscall_ppoll
|
||||
dq syscall_pread
|
||||
dq syscall_pwrite
|
||||
syscallcount equ 78
|
||||
dq syscall_mknodat
|
||||
syscallcount equ 79
|
||||
section .text
|
||||
global arch_syscall_entry
|
||||
; on entry:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#ifdef SYSCALL_LOGGING
|
||||
|
||||
#define SYSCALL_COUNT 78
|
||||
#define SYSCALL_COUNT 79
|
||||
#define LOGSTR(x) arch_e9_puts(x)
|
||||
|
||||
static char *name[] = {
|
||||
@@ -86,7 +86,8 @@ static char *name[] = {
|
||||
"pause",
|
||||
"ppoll",
|
||||
"pread",
|
||||
"pwrite"
|
||||
"pwrite",
|
||||
"mknodat"
|
||||
};
|
||||
|
||||
static char *args[] = {
|
||||
@@ -165,9 +166,10 @@ static char *args[] = {
|
||||
"fd %d addr %p addrlen %p", // getpeername
|
||||
"path %s", // chroot
|
||||
"N/A", // pause
|
||||
"fds %p nfds %d timeout %p sigmask %p" // ppoll
|
||||
"fds %p nfds %d timeout %p sigmask %p", // ppoll
|
||||
"fd %d buffer %p count %lu offset %lu\n", // pread
|
||||
"fd %d buffer %p count %lu offset %lu\n", // pwrite
|
||||
"dirfd %d path %s mode %o dev %x\n" // mknodat
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user