Linux: Add cachestat, fchmodat2 syscalls

This commit is contained in:
Stephen Gregoratto 2023-11-17 15:20:42 +11:00
parent 3e6d536822
commit ac3bc27938
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_cachestat,0xfffffffffffff1c3,451,4095,globl

View file

@ -0,0 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_fchmodat2,0xfffffffffffff1c4,452,4095,globl

View file

@ -383,6 +383,8 @@ scall sys_memfd_secret 0xfffffffffffff1bf 0xfff globl # no wrapper
scall sys_process_mrelease 0xfffffffffffff1c0 0xfff globl # no wrapper
scall sys_futex_waitv 0xfffffffffffff1c1 0xfff globl # no wrapper
scall sys_set_mempolicy_home_node 0xfffffffffffff1c2 0xfff globl # no wrapper
scall sys_cachestat 0xfffffffffffff1c3 0x1c3 globl # Linux 6.5+
scall sys_fchmodat2 0xfffffffffffff1c4 0x1c4 globl # no wrapper Linux 6.6+
# The Fifth Bell System Interface, Community Edition
# » besiyata dishmaya