Linux: Add cachestat, fchmodat2 syscalls (#958)

This commit is contained in:
Stephen Gregoratto 2023-11-20 14:01:20 +11:00 committed by GitHub
parent 69faf1b403
commit cc5c5319bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 287 additions and 1 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