kernel: hook new system calls to userland

This commit is contained in:
Matheus
2023-09-07 15:48:04 -03:00
parent 712aa9fbc0
commit 1520bb4e01
3 changed files with 69 additions and 10 deletions
+5 -1
View File
@@ -37,6 +37,8 @@ extern syscall_poll
extern syscall_nanosleep
extern syscall_ftruncate
extern syscall_mount
extern syscall_fchownat
extern syscall_utimensat
syscalltab:
dq syscall_print
dq syscall_mmap
@@ -76,7 +78,9 @@ dq syscall_poll
dq syscall_nanosleep
dq syscall_ftruncate
dq syscall_mount
syscallcount equ 38
dq syscall_fchownat
dq syscall_utimensat
syscallcount equ 40
section .text
global arch_syscall_entry
; on entry: