diff options
-rw-r--r-- | SystemCalls_constants.py | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/SystemCalls_constants.py b/SystemCalls_constants.py index 8f31cbd..dbfc60c 100644 --- a/SystemCalls_constants.py +++ b/SystemCalls_constants.py @@ -1,6 +1,6 @@ systemCallTypes = ['int 80h', 'sysenter', 'syscall', 'gs:[10h]'] -# Taken from /usr/include/asm/unistd_32.h at Arch Linux i686 3.16.3-1. +# Taken from /usr/include/asm/unistd_32.h at Arch Linux x86_64 4.15.7-1. x86SystemCalls = [ 'sys_restart_syscall', 'sys_exit', @@ -352,9 +352,40 @@ x86SystemCalls = [ 'sys_sched_setattr', 'sys_sched_getattr', 'sys_renameat2' + 'sys_seccomp', + 'sys_getrandom', + 'sys_memfd_create', + 'sys_bpf', + 'sys_execveat', + 'sys_socket', + 'sys_socketpair', + 'sys_bind', + 'sys_connect', + 'sys_listen', + 'sys_accept4', + 'sys_getsockopt', + 'sys_setsockopt', + 'sys_getsockname', + 'sys_getpeername', + 'sys_sendto', + 'sys_sendmsg', + 'sys_recvfrom', + 'sys_recvmsg', + 'sys_shutdown', + 'sys_userfaultfd', + 'sys_membarrier', + 'sys_mlock2', + 'sys_copy_file_range', + 'sys_preadv2', + 'sys_pwritev2', + 'sys_pkey_mprotect', + 'sys_pkey_alloc', + 'sys_pkey_free', + 'sys_statx', + 'sys_arch_prctl' ] -# Taken from /usr/include/asm/unistd_64.h at Arch Linux x86_64 3.16.1-1. +# Taken from /usr/include/asm/unistd_64.h at Arch Linux x86_64 4.15.7-1. x86_64SystemCalls = [ 'sys_read', 'sys_write', @@ -671,5 +702,22 @@ x86_64SystemCalls = [ 'sys_kcmp', 'sys_finit_module', 'sys_sched_setattr', - 'sys_sched_getattr' + 'sys_sched_getattr', + 'sys_renameat2', + 'sys_seccomp', + 'sys_getrandom', + 'sys_memfd_create', + 'sys_kexec_file_load', + 'sys_bpf', + 'sys_execveat', + 'sys_userfaultfd', + 'sys_membarrier', + 'sys_mlock2', + 'sys_copy_file_range', + 'sys_preadv2', + 'sys_pwritev2', + 'sys_pkey_mprotect', + 'sys_pkey_alloc', + 'sys_pkey_free', + 'sys_statx' ] |