Skip to content

Commit

Permalink
all: update the syscall table for Linux v6.7-rc3
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Moore <[email protected]>
Signed-off-by: Tom Hromatka <[email protected]>
  • Loading branch information
pcmoore authored and drakenclimber committed Dec 1, 2023
1 parent a707ec9 commit 53267af
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
17 changes: 17 additions & 0 deletions include/seccomp-syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
#define __PNR_renameat -10242
#define __PNR_riscv_flush_icache -10243
#define __PNR_memfd_secret -10244
#define __PNR_map_shadow_stack -10245

/*
* libseccomp syscall definitions
Expand Down Expand Up @@ -401,6 +402,8 @@
#define __SNR_cacheflush __PNR_cacheflush
#endif

#define __SNR_cachestat __NR_cachestat

#define __SNR_capget __NR_capget

#define __SNR_capset __NR_capset
Expand Down Expand Up @@ -595,6 +598,8 @@

#define __SNR_fchmodat __NR_fchmodat

#define __SNR_fchmodat2 __NR_fchmodat2

#ifdef __NR_fchown
#define __SNR_fchown __NR_fchown
#else
Expand Down Expand Up @@ -717,14 +722,20 @@

#define __SNR_futex __NR_futex

#define __SNR_futex_requeue __NR_futex_requeue

#ifdef __NR_futex_time64
#define __SNR_futex_time64 __NR_futex_time64
#else
#define __SNR_futex_time64 __PNR_futex_time64
#endif

#define __SNR_futex_wait __NR_futex_wait

#define __SNR_futex_waitv __NR_futex_waitv

#define __SNR_futex_wake __NR_futex_wake

#ifdef __NR_futimesat
#define __SNR_futimesat __NR_futimesat
#else
Expand Down Expand Up @@ -1075,6 +1086,12 @@

#define __SNR_madvise __NR_madvise

#ifdef __NR_map_shadow_stack
#define __SNR_map_shadow_stack __NR_map_shadow_stack
#else
#define __SNR_map_shadow_stack __PNR_map_shadow_stack
#endif

#ifdef __NR_mbind
#define __SNR_mbind __NR_mbind
#else
Expand Down
12 changes: 9 additions & 3 deletions src/syscalls.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#syscall (v5.17.0 2022-04-05),x86,x86_64,x32,arm,aarch64,mips,mips64,mips64n32,parisc,parisc64,ppc,ppc64,riscv64,s390,s390x
#syscall (v6.7.0-rc3 2023-11-30),x86,x86_64,x32,arm,aarch64,mips,mips64,mips64n32,parisc,parisc64,ppc,ppc64,riscv64,s390,s390x
accept,PNR,43,43,285,202,168,42,42,35,35,330,330,202,PNR,PNR
accept4,364,288,288,366,242,334,293,297,320,320,344,344,242,364,364
access,33,21,21,33,PNR,33,20,20,33,33,33,33,PNR,33,33
Expand All @@ -17,7 +17,8 @@ break,17,PNR,PNR,PNR,PNR,17,PNR,PNR,PNR,PNR,17,17,PNR,PNR,PNR
breakpoint,PNR,PNR,PNR,983041,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR
brk,45,12,12,45,214,45,12,12,45,45,45,45,214,45,45
cachectl,PNR,PNR,PNR,PNR,PNR,148,198,198,PNR,PNR,PNR,PNR,PNR,PNR,PNR
cacheflush,PNR,PNR,PNR,983042,PNR,147,197,197,PNR,PNR,PNR,PNR,PNR,PNR,PNR
cacheflush,PNR,PNR,PNR,983042,PNR,147,197,197,356,356,PNR,PNR,PNR,PNR,PNR
cachestat,451,451,451,451,451,451,451,451,451,451,451,451,451,451,451
capget,184,125,125,184,90,204,123,123,106,106,183,183,90,184,184
capset,185,126,126,185,91,205,124,124,107,107,184,184,91,185,185
chdir,12,80,80,12,49,12,78,78,12,12,12,12,49,12,12
Expand Down Expand Up @@ -71,6 +72,7 @@ fanotify_mark,339,301,301,368,263,337,296,301,323,323,324,324,263,333,333
fchdir,133,81,81,133,50,133,79,79,133,133,133,133,50,133,133
fchmod,94,91,91,94,52,94,89,89,94,94,94,94,52,94,94
fchmodat,306,268,268,333,53,299,258,262,286,286,297,297,53,299,299
fchmodat2,452,452,452,452,452,452,452,452,452,452,452,452,452,452,452
fchown,95,93,93,95,55,95,91,91,95,95,95,95,55,95,207
fchown32,207,PNR,PNR,207,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,207,PNR
fchownat,298,260,260,325,54,291,250,254,278,278,289,289,54,291,291
Expand Down Expand Up @@ -98,8 +100,11 @@ ftime,35,PNR,PNR,PNR,PNR,35,PNR,PNR,PNR,PNR,35,35,PNR,PNR,PNR
ftruncate,93,77,77,93,46,93,75,75,93,93,93,93,46,93,93
ftruncate64,194,PNR,PNR,194,PNR,212,PNR,PNR,200,200,194,PNR,PNR,194,PNR
futex,240,202,202,240,98,238,194,194,210,210,221,221,98,238,238
futex_requeue,456,456,456,456,456,456,456,456,456,456,456,456,456,456,456
futex_time64,422,PNR,PNR,422,PNR,422,PNR,422,422,PNR,422,PNR,PNR,422,PNR
futex_wait,455,455,455,455,455,455,455,455,455,455,455,455,455,455,455
futex_waitv,449,449,449,449,449,449,449,449,449,449,449,449,449,449,449
futex_wake,454,454,454,454,454,454,454,454,454,454,454,454,454,454,454
futimesat,299,261,261,326,PNR,292,251,255,279,279,290,290,PNR,292,292
getcpu,318,309,309,345,168,312,271,275,296,296,302,302,168,311,311
getcwd,183,79,79,183,17,203,77,77,110,110,182,182,17,183,183
Expand Down Expand Up @@ -189,10 +194,11 @@ lsetxattr,227,189,189,227,6,225,181,181,239,239,210,210,6,225,225
lstat,107,6,6,107,PNR,107,6,6,84,84,107,107,PNR,107,107
lstat64,196,PNR,PNR,196,PNR,214,PNR,PNR,198,198,196,PNR,PNR,196,PNR
madvise,219,28,28,220,233,218,27,27,119,119,205,205,233,219,219
map_shadow_stack,453,453,PNR,453,453,453,453,453,453,453,453,453,453,453,453
mbind,274,237,237,319,235,268,227,231,260,260,259,259,235,268,268
membarrier,375,324,324,389,283,358,318,322,343,343,365,365,283,356,356
memfd_create,356,319,319,385,279,354,314,318,340,340,360,360,279,350,350
memfd_secret,447,447,447,PNR,447,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR
memfd_secret,447,447,447,PNR,447,PNR,PNR,PNR,PNR,PNR,PNR,PNR,447,447,447
migrate_pages,294,256,256,400,238,287,246,250,272,272,258,258,238,287,287
mincore,218,27,27,219,232,217,26,26,72,72,206,206,232,218,218
mkdir,39,83,83,39,PNR,39,81,81,39,39,39,39,PNR,39,39
Expand Down

0 comments on commit 53267af

Please sign in to comment.