mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-11 21:49:12 +00:00
Linux: Add cachestat, fchmodat2 syscalls (#958)
This commit is contained in:
parent
69faf1b403
commit
cc5c5319bf
8 changed files with 287 additions and 1 deletions
2
libc/sysv/calls/sys_cachestat.S
Normal file
2
libc/sysv/calls/sys_cachestat.S
Normal file
|
@ -0,0 +1,2 @@
|
|||
#include "libc/sysv/macros.internal.h"
|
||||
.scall sys_cachestat,0xfffffffffffff1c3,451,4095,globl
|
2
libc/sysv/calls/sys_fchmodat2.S
Normal file
2
libc/sysv/calls/sys_fchmodat2.S
Normal file
|
@ -0,0 +1,2 @@
|
|||
#include "libc/sysv/macros.internal.h"
|
||||
.scall sys_fchmodat2,0xfffffffffffff1c4,452,4095,globl
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue