diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-04-18 17:09:59 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-04-19 10:26:57 +0200 |
| commit | 91db3ed8ce2dc73444bcd649f8003cbe96fcb227 (patch) | |
| tree | 08013bd813d8f038060db3cef25fa02eb7eb53e5 | |
| parent | 273e386b718deddf0859d1ed99e2699a9d3e2e5d (diff) | |
prog: add ignore_return and breaks_returns call attribtues
We had these hard-coded for fuchsia and linux accordingly.
Replace with call attributes.
| -rw-r--r-- | docs/syscall_descriptions_syntax.md | 8 | ||||
| -rw-r--r-- | executor/defs.h | 26 | ||||
| -rw-r--r-- | executor/executor.cc | 4 | ||||
| -rw-r--r-- | executor/syscalls.h | 3860 | ||||
| -rw-r--r-- | prog/analysis.go | 7 | ||||
| -rw-r--r-- | prog/prog_test.go | 8 | ||||
| -rw-r--r-- | prog/types.go | 14 | ||||
| -rw-r--r-- | sys/fuchsia/gen/amd64.go | 12 | ||||
| -rw-r--r-- | sys/fuchsia/gen/arm64.go | 12 | ||||
| -rw-r--r-- | sys/fuchsia/log.txt | 2 | ||||
| -rw-r--r-- | sys/fuchsia/time.txt | 8 | ||||
| -rw-r--r-- | sys/linux/gen/386.go | 158 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 158 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 158 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 158 | ||||
| -rw-r--r-- | sys/linux/gen/mips64le.go | 158 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 158 | ||||
| -rw-r--r-- | sys/linux/prctl.txt | 106 | ||||
| -rw-r--r-- | sys/linux/seccomp.txt | 20 | ||||
| -rw-r--r-- | sys/linux/sys.txt | 38 | ||||
| -rw-r--r-- | sys/test/gen/32_fork_shmem.go | 8 | ||||
| -rw-r--r-- | sys/test/gen/32_shmem.go | 8 | ||||
| -rw-r--r-- | sys/test/gen/64.go | 8 | ||||
| -rw-r--r-- | sys/test/gen/64_fork.go | 8 | ||||
| -rw-r--r-- | sys/test/test.txt | 3 |
25 files changed, 3999 insertions, 1109 deletions
diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md index c198a6417..74d69c113 100644 --- a/docs/syscall_descriptions_syntax.md +++ b/docs/syscall_descriptions_syntax.md @@ -81,10 +81,14 @@ flagname = "\"" literal "\"" ["," "\"" literal "\""]* Call attributes are: ``` -"disabled": the call will not be used in fuzzing +"disabled": the call will not be used in fuzzing; useful to temporary disable some calls + or prohibit particular argument combinations. "timeout[N]": additional execution timeout (in ms) for the call on top of some default value "prog_timeout[N]": additional execution timeout (in ms) for the whole program if it contains this call; - if a program contains several such calls, the max value is used + if a program contains several such calls, the max value is used. +"ignore_return": ignore return value of this syscall in fallback feedback; need to be used for calls + that don't return fixed error codes but rather something else (e.g. the current time). +"breaks_returns": ignore return values of all subsequent calls in the program in fallback feedback (can't be trusted). ``` ## Ints diff --git a/executor/defs.h b/executor/defs.h index 827823376..45a10eef7 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -4,6 +4,8 @@ struct call_attrs_t { uint64_t disabled; uint64_t timeout; uint64_t prog_timeout; + uint64_t ignore_return; + uint64_t breaks_returns; }; #if GOOS_akaros @@ -51,7 +53,7 @@ struct call_attrs_t { #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "affb41e7463b2c8dbaf4456cc5c1135057b68e70" +#define SYZ_REVISION "296a2146dc159a2236ebb2611b4738dfb8eb8cca" #define SYZ_EXECUTOR_USES_FORK_SERVER 0 #define SYZ_EXECUTOR_USES_SHMEM 0 #define SYZ_PAGE_SIZE 4096 @@ -61,7 +63,7 @@ struct call_attrs_t { #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "8169a7bb61f8f0d31d96b66fb157d4e71855b481" +#define SYZ_REVISION "9cbe7499118d822801d5206c4902813557175c30" #define SYZ_EXECUTOR_USES_FORK_SERVER 0 #define SYZ_EXECUTOR_USES_SHMEM 0 #define SYZ_PAGE_SIZE 4096 @@ -76,7 +78,7 @@ struct call_attrs_t { #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "c85ee6fdae76f49ca20b5bd02bf9745728acf4b0" +#define SYZ_REVISION "cf4ccfa32fed32a9b47f56c6897f09472e43d899" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -86,7 +88,7 @@ struct call_attrs_t { #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "c81b96f2401820555062d06ad90134d1000402f2" +#define SYZ_REVISION "7c5b12c631adcae15b5e216881c046b8e84dc5b0" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -96,7 +98,7 @@ struct call_attrs_t { #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "d30bf4313f75140dbd18bece36a70e966f97169b" +#define SYZ_REVISION "26699061f5bdf171818061b4b599f7e75419728a" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -106,7 +108,7 @@ struct call_attrs_t { #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "754f18ad30ad9e5227a0ce8ce292b3276378042a" +#define SYZ_REVISION "3fd1d4e2612c30e0230b0c12475a8acc39904911" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -116,7 +118,7 @@ struct call_attrs_t { #if GOARCH_mips64le #define GOARCH "mips64le" -#define SYZ_REVISION "58f498d275b69ced55f63aac5e932a8700ba24de" +#define SYZ_REVISION "0fe40bd893f97bb91327c5a5cfdde53805983bff" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -126,7 +128,7 @@ struct call_attrs_t { #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "0c998ac9a6c1ec29e54865894e5b07c2617765cc" +#define SYZ_REVISION "921f696e9e82e385dde908b067cf26bd7fcbadf2" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -171,7 +173,7 @@ struct call_attrs_t { #if GOARCH_32_fork_shmem #define GOARCH "32_fork_shmem" -#define SYZ_REVISION "42febc260062ff9c4c73371e46dcc2ade4e32b36" +#define SYZ_REVISION "ab8275b5cfc2a37c9a8ab35108e25a9998325f38" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -181,7 +183,7 @@ struct call_attrs_t { #if GOARCH_32_shmem #define GOARCH "32_shmem" -#define SYZ_REVISION "ce7401e2afc658220944c84887758eb703c23b7c" +#define SYZ_REVISION "46c71bcde42c5b69098cfd8d518c66b2b0af8163" #define SYZ_EXECUTOR_USES_FORK_SERVER 0 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 8192 @@ -191,7 +193,7 @@ struct call_attrs_t { #if GOARCH_64 #define GOARCH "64" -#define SYZ_REVISION "5ebd7e76e815125be242b5a31d8ab9a335aab451" +#define SYZ_REVISION "d29ff4a36a0307a7520352f7fc08e9cb2184fe67" #define SYZ_EXECUTOR_USES_FORK_SERVER 0 #define SYZ_EXECUTOR_USES_SHMEM 0 #define SYZ_PAGE_SIZE 4096 @@ -201,7 +203,7 @@ struct call_attrs_t { #if GOARCH_64_fork #define GOARCH "64_fork" -#define SYZ_REVISION "4c2768ec4faaf99b5ed9e013acab8304244e4262" +#define SYZ_REVISION "eb6f5aaad384aba1748935015c3b4d25fb43f0a1" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 0 #define SYZ_PAGE_SIZE 8192 diff --git a/executor/executor.cc b/executor/executor.cc index 64d84c394..4e6a37055 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -1078,6 +1078,10 @@ void execute_call(thread_t* th) th->reserrno = errno; if (th->res == -1 && th->reserrno == 0) th->reserrno = EINVAL; // our syz syscalls may misbehave + if (call->attrs.ignore_return) { + th->res = 0; + th->reserrno = 0; + } if (flag_coverage) { cover_collect(&th->cov); if (th->cov.size >= kCoverSize) diff --git a/executor/syscalls.h b/executor/syscalls.h index ed3dc8ffc..3e09abe56 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -1576,13 +1576,37 @@ const call_t syscalls[] = { {"zx_channel_write$fuchsia_process_LauncherAddNames", 0, {}, (syscall_t)zx_channel_write}, {"zx_channel_write$fuchsia_timezone_TimezoneWatch", 0, {}, (syscall_t)zx_channel_write}, {"zx_channel_write$fuchsia_timezone_TimezoneWatcherOnTimezoneOffsetChange", 0, {}, (syscall_t)zx_channel_write}, - {"zx_clock_get", 0, {}, (syscall_t)zx_clock_get}, - {"zx_clock_get_monotonic", 0, {}, (syscall_t)zx_clock_get_monotonic}, + {"zx_clock_get", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_clock_get}, + {"zx_clock_get_monotonic", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_clock_get_monotonic}, {"zx_cprng_add_entropy", 0, {}, (syscall_t)zx_cprng_add_entropy}, {"zx_cprng_draw", 0, {}, (syscall_t)zx_cprng_draw}, - {"zx_deadline_after", 0, {}, (syscall_t)zx_deadline_after}, + {"zx_deadline_after", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_deadline_after}, {"zx_debuglog_create", 0, {}, (syscall_t)zx_debuglog_create}, - {"zx_debuglog_read", 0, {}, (syscall_t)zx_debuglog_read}, + {"zx_debuglog_read", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_debuglog_read}, {"zx_debuglog_write", 0, {}, (syscall_t)zx_debuglog_write}, {"zx_event_create", 0, {}, (syscall_t)zx_event_create}, {"zx_eventpair_create", 0, {}, (syscall_t)zx_eventpair_create}, @@ -1657,7 +1681,13 @@ const call_t syscalls[] = { {"zx_thread_start", 0, {}, (syscall_t)zx_thread_start}, {"zx_thread_write_state", 0, {}, (syscall_t)zx_thread_write_state}, {"zx_thread_write_state$0", 0, {}, (syscall_t)zx_thread_write_state}, - {"zx_ticks_get", 0, {}, (syscall_t)zx_ticks_get}, + {"zx_ticks_get", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_ticks_get}, {"zx_ticks_per_second", 0, {}, (syscall_t)zx_ticks_per_second}, {"zx_timer_cancel", 0, {}, (syscall_t)zx_timer_cancel}, {"zx_timer_create", 0, {}, (syscall_t)zx_timer_create}, @@ -1981,13 +2011,37 @@ const call_t syscalls[] = { {"zx_channel_write$fuchsia_process_LauncherAddNames", 0, {}, (syscall_t)zx_channel_write}, {"zx_channel_write$fuchsia_timezone_TimezoneWatch", 0, {}, (syscall_t)zx_channel_write}, {"zx_channel_write$fuchsia_timezone_TimezoneWatcherOnTimezoneOffsetChange", 0, {}, (syscall_t)zx_channel_write}, - {"zx_clock_get", 0, {}, (syscall_t)zx_clock_get}, - {"zx_clock_get_monotonic", 0, {}, (syscall_t)zx_clock_get_monotonic}, + {"zx_clock_get", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_clock_get}, + {"zx_clock_get_monotonic", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_clock_get_monotonic}, {"zx_cprng_add_entropy", 0, {}, (syscall_t)zx_cprng_add_entropy}, {"zx_cprng_draw", 0, {}, (syscall_t)zx_cprng_draw}, - {"zx_deadline_after", 0, {}, (syscall_t)zx_deadline_after}, + {"zx_deadline_after", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_deadline_after}, {"zx_debuglog_create", 0, {}, (syscall_t)zx_debuglog_create}, - {"zx_debuglog_read", 0, {}, (syscall_t)zx_debuglog_read}, + {"zx_debuglog_read", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_debuglog_read}, {"zx_debuglog_write", 0, {}, (syscall_t)zx_debuglog_write}, {"zx_event_create", 0, {}, (syscall_t)zx_event_create}, {"zx_eventpair_create", 0, {}, (syscall_t)zx_eventpair_create}, @@ -2062,7 +2116,13 @@ const call_t syscalls[] = { {"zx_thread_start", 0, {}, (syscall_t)zx_thread_start}, {"zx_thread_write_state", 0, {}, (syscall_t)zx_thread_write_state}, {"zx_thread_write_state$0", 0, {}, (syscall_t)zx_thread_write_state}, - {"zx_ticks_get", 0, {}, (syscall_t)zx_ticks_get}, + {"zx_ticks_get", 0, { + 0, + 0, + 0, + 1, + }, + (syscall_t)zx_ticks_get}, {"zx_ticks_per_second", 0, {}, (syscall_t)zx_ticks_per_second}, {"zx_timer_cancel", 0, {}, (syscall_t)zx_timer_cancel}, {"zx_timer_create", 0, {}, (syscall_t)zx_timer_create}, @@ -2209,8 +2269,20 @@ const call_t syscalls[] = { {"clock_gettime", 265}, {"clock_nanosleep", 267}, {"clock_settime", 264}, - {"clone", 120}, - {"clone3", 435}, + {"clone", 120, { + 0, + 0, + 0, + 0, + 1, + }}, + {"clone3", 435, { + 0, + 0, + 0, + 0, + 1, + }}, {"close", 6}, {"close$ibv_device", 6}, {"connect", 362}, @@ -3232,9 +3304,27 @@ const call_t syscalls[] = { {"ioctl$SCSI_IOCTL_STOP_UNIT", 54}, {"ioctl$SCSI_IOCTL_SYNC", 54}, {"ioctl$SCSI_IOCTL_TEST_UNIT_READY", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 54}, + {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 54, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 54, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 54, { + 0, + 0, + 0, + 0, + 1, + }}, {"ioctl$SG_EMULATED_HOST", 54}, {"ioctl$SG_GET_ACCESS_COUNT", 54}, {"ioctl$SG_GET_COMMAND_Q", 54}, @@ -4173,81 +4263,489 @@ const call_t syscalls[] = { {"pkey_mprotect", 380}, {"poll", 168}, {"ppoll", 309}, - {"prctl$PR_CAPBSET_DROP", 172}, - {"prctl$PR_CAPBSET_READ", 172}, - {"prctl$PR_CAP_AMBIENT", 172}, - {"prctl$PR_GET_CHILD_SUBREAPER", 172}, - {"prctl$PR_GET_DUMPABLE", 172}, - {"prctl$PR_GET_ENDIAN", 172}, - {"prctl$PR_GET_FPEMU", 172}, - {"prctl$PR_GET_FPEXC", 172}, - {"prctl$PR_GET_FP_MODE", 172}, - {"prctl$PR_GET_KEEPCAPS", 172}, - {"prctl$PR_GET_NAME", 172}, - {"prctl$PR_GET_NO_NEW_PRIVS", 172}, - {"prctl$PR_GET_PDEATHSIG", 172}, - {"prctl$PR_GET_SECCOMP", 172}, - {"prctl$PR_GET_SECUREBITS", 172}, - {"prctl$PR_GET_SPECULATION_CTRL", 172}, - {"prctl$PR_GET_THP_DISABLE", 172}, - {"prctl$PR_GET_TID_ADDRESS", 172}, - {"prctl$PR_GET_TIMERSLACK", 172}, - {"prctl$PR_GET_TSC", 172}, - {"prctl$PR_GET_UNALIGN", 172}, - {"prctl$PR_MCE_KILL", 172}, - {"prctl$PR_MCE_KILL_GET", 172}, - {"prctl$PR_MPX_DISABLE_MANAGEMENT", 172}, - {"prctl$PR_MPX_ENABLE_MANAGEMENT", 172}, - {"prctl$PR_SET_CHILD_SUBREAPER", 172}, - {"prctl$PR_SET_DUMPABLE", 172}, - {"prctl$PR_SET_ENDIAN", 172}, - {"prctl$PR_SET_FPEMU", 172}, - {"prctl$PR_SET_FPEXC", 172}, - {"prctl$PR_SET_FP_MODE", 172}, - {"prctl$PR_SET_KEEPCAPS", 172}, - {"prctl$PR_SET_MM", 172}, - {"prctl$PR_SET_MM_AUXV", 172}, - {"prctl$PR_SET_MM_EXE_FILE", 172}, - {"prctl$PR_SET_MM_MAP", 172}, - {"prctl$PR_SET_MM_MAP_SIZE", 172}, - {"prctl$PR_SET_NAME", 172}, - {"prctl$PR_SET_NO_NEW_PRIVS", 172}, - {"prctl$PR_SET_PDEATHSIG", 172}, - {"prctl$PR_SET_PTRACER", 172}, - {"prctl$PR_SET_SECCOMP", 172}, - {"prctl$PR_SET_SECUREBITS", 172}, - {"prctl$PR_SET_SPECULATION_CTRL", 172}, - {"prctl$PR_SET_THP_DISABLE", 172}, - {"prctl$PR_SET_TIMERSLACK", 172}, - {"prctl$PR_SET_TSC", 172}, - {"prctl$PR_SET_UNALIGN", 172}, - {"prctl$PR_SVE_GET_VL", 172}, - {"prctl$PR_SVE_SET_VL", 172}, - {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 172}, - {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 172}, + {"prctl$PR_CAPBSET_DROP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAPBSET_READ", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAP_AMBIENT", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_CHILD_SUBREAPER", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_DUMPABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_ENDIAN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEMU", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEXC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FP_MODE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_KEEPCAPS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NAME", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NO_NEW_PRIVS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_PDEATHSIG", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECCOMP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECUREBITS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SPECULATION_CTRL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_THP_DISABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TID_ADDRESS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TIMERSLACK", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TSC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_UNALIGN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL_GET", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_DISABLE_MANAGEMENT", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_ENABLE_MANAGEMENT", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_CHILD_SUBREAPER", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_DUMPABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_ENDIAN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEMU", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEXC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FP_MODE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_KEEPCAPS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_AUXV", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_EXE_FILE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP_SIZE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NAME", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NO_NEW_PRIVS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PDEATHSIG", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PTRACER", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECCOMP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECUREBITS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SPECULATION_CTRL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_THP_DISABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TIMERSLACK", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TSC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_UNALIGN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_GET_VL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_SET_VL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, {"pread64", 180}, {"preadv", 333}, {"prlimit64", 340}, {"process_vm_readv", 347}, {"process_vm_writev", 348}, {"pselect6", 308}, - {"ptrace", 26}, - {"ptrace$PTRACE_SECCOMP_GET_FILTER", 26}, - {"ptrace$PTRACE_SECCOMP_GET_METADATA", 26}, - {"ptrace$cont", 26}, - {"ptrace$getenv", 26}, - {"ptrace$getregs", 26}, - {"ptrace$getregset", 26}, - {"ptrace$getsig", 26}, - {"ptrace$peek", 26}, + {"ptrace", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_FILTER", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_METADATA", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$cont", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getenv", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregs", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregset", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getsig", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$peek", 26, { + 0, + 0, + 0, + 0, + 1, + }}, {"ptrace$peeksig", 26}, - {"ptrace$peekuser", 26}, - {"ptrace$poke", 26}, - {"ptrace$pokeuser", 26}, - {"ptrace$setopts", 26}, - {"ptrace$setregs", 26}, - {"ptrace$setregset", 26}, - {"ptrace$setsig", 26}, + {"ptrace$peekuser", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$poke", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$pokeuser", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setopts", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregs", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregset", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setsig", 26, { + 0, + 0, + 0, + 0, + 1, + }}, {"pwrite64", 181}, {"pwritev", 334}, {"quotactl", 131}, @@ -4324,11 +4822,41 @@ const call_t syscalls[] = { {"sched_setparam", 154}, {"sched_setscheduler", 156}, {"sched_yield", 158}, - {"seccomp$SECCOMP_GET_ACTION_AVAIL", 354}, - {"seccomp$SECCOMP_GET_NOTIF_SIZES", 354}, - {"seccomp$SECCOMP_SET_MODE_FILTER", 354}, - {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 354}, - {"seccomp$SECCOMP_SET_MODE_STRICT", 354}, + {"seccomp$SECCOMP_GET_ACTION_AVAIL", 354, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_GET_NOTIF_SIZES", 354, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER", 354, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 354, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_STRICT", 354, { + 0, + 0, + 0, + 0, + 1, + }}, {"select", 82}, {"semctl$GETALL", 394}, {"semctl$GETNCNT", 394}, @@ -5738,8 +6266,20 @@ const call_t syscalls[] = { {"clock_gettime", 228}, {"clock_nanosleep", 230}, {"clock_settime", 227}, - {"clone", 56}, - {"clone3", 435}, + {"clone", 56, { + 0, + 0, + 0, + 0, + 1, + }}, + {"clone3", 435, { + 0, + 0, + 0, + 0, + 1, + }}, {"close", 3}, {"close$ibv_device", 3}, {"connect", 42}, @@ -6759,9 +7299,27 @@ const call_t syscalls[] = { {"ioctl$SCSI_IOCTL_STOP_UNIT", 16}, {"ioctl$SCSI_IOCTL_SYNC", 16}, {"ioctl$SCSI_IOCTL_TEST_UNIT_READY", 16}, - {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 16}, - {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 16}, - {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 16}, + {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 16, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 16, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 16, { + 0, + 0, + 0, + 0, + 1, + }}, {"ioctl$SG_EMULATED_HOST", 16}, {"ioctl$SG_GET_ACCESS_COUNT", 16}, {"ioctl$SG_GET_COMMAND_Q", 16}, @@ -7707,81 +8265,489 @@ const call_t syscalls[] = { {"pkey_mprotect", 329}, {"poll", 7}, {"ppoll", 271}, - {"prctl$PR_CAPBSET_DROP", 157}, - {"prctl$PR_CAPBSET_READ", 157}, - {"prctl$PR_CAP_AMBIENT", 157}, - {"prctl$PR_GET_CHILD_SUBREAPER", 157}, - {"prctl$PR_GET_DUMPABLE", 157}, - {"prctl$PR_GET_ENDIAN", 157}, - {"prctl$PR_GET_FPEMU", 157}, - {"prctl$PR_GET_FPEXC", 157}, - {"prctl$PR_GET_FP_MODE", 157}, - {"prctl$PR_GET_KEEPCAPS", 157}, - {"prctl$PR_GET_NAME", 157}, - {"prctl$PR_GET_NO_NEW_PRIVS", 157}, - {"prctl$PR_GET_PDEATHSIG", 157}, - {"prctl$PR_GET_SECCOMP", 157}, - {"prctl$PR_GET_SECUREBITS", 157}, - {"prctl$PR_GET_SPECULATION_CTRL", 157}, - {"prctl$PR_GET_THP_DISABLE", 157}, - {"prctl$PR_GET_TID_ADDRESS", 157}, - {"prctl$PR_GET_TIMERSLACK", 157}, - {"prctl$PR_GET_TSC", 157}, - {"prctl$PR_GET_UNALIGN", 157}, - {"prctl$PR_MCE_KILL", 157}, - {"prctl$PR_MCE_KILL_GET", 157}, - {"prctl$PR_MPX_DISABLE_MANAGEMENT", 157}, - {"prctl$PR_MPX_ENABLE_MANAGEMENT", 157}, - {"prctl$PR_SET_CHILD_SUBREAPER", 157}, - {"prctl$PR_SET_DUMPABLE", 157}, - {"prctl$PR_SET_ENDIAN", 157}, - {"prctl$PR_SET_FPEMU", 157}, - {"prctl$PR_SET_FPEXC", 157}, - {"prctl$PR_SET_FP_MODE", 157}, - {"prctl$PR_SET_KEEPCAPS", 157}, - {"prctl$PR_SET_MM", 157}, - {"prctl$PR_SET_MM_AUXV", 157}, - {"prctl$PR_SET_MM_EXE_FILE", 157}, - {"prctl$PR_SET_MM_MAP", 157}, - {"prctl$PR_SET_MM_MAP_SIZE", 157}, - {"prctl$PR_SET_NAME", 157}, - {"prctl$PR_SET_NO_NEW_PRIVS", 157}, - {"prctl$PR_SET_PDEATHSIG", 157}, - {"prctl$PR_SET_PTRACER", 157}, - {"prctl$PR_SET_SECCOMP", 157}, - {"prctl$PR_SET_SECUREBITS", 157}, - {"prctl$PR_SET_SPECULATION_CTRL", 157}, - {"prctl$PR_SET_THP_DISABLE", 157}, - {"prctl$PR_SET_TIMERSLACK", 157}, - {"prctl$PR_SET_TSC", 157}, - {"prctl$PR_SET_UNALIGN", 157}, - {"prctl$PR_SVE_GET_VL", 157}, - {"prctl$PR_SVE_SET_VL", 157}, - {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 157}, - {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 157}, + {"prctl$PR_CAPBSET_DROP", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAPBSET_READ", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAP_AMBIENT", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_CHILD_SUBREAPER", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_DUMPABLE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_ENDIAN", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEMU", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEXC", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FP_MODE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_KEEPCAPS", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NAME", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NO_NEW_PRIVS", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_PDEATHSIG", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECCOMP", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECUREBITS", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SPECULATION_CTRL", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_THP_DISABLE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TID_ADDRESS", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TIMERSLACK", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TSC", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_UNALIGN", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL_GET", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_DISABLE_MANAGEMENT", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_ENABLE_MANAGEMENT", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_CHILD_SUBREAPER", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_DUMPABLE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_ENDIAN", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEMU", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEXC", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FP_MODE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_KEEPCAPS", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_AUXV", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_EXE_FILE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP_SIZE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NAME", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NO_NEW_PRIVS", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PDEATHSIG", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PTRACER", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECCOMP", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECUREBITS", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SPECULATION_CTRL", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_THP_DISABLE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TIMERSLACK", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TSC", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_UNALIGN", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_GET_VL", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_SET_VL", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 157, { + 0, + 0, + 0, + 0, + 1, + }}, {"pread64", 17}, {"preadv", 295}, {"prlimit64", 302}, {"process_vm_readv", 310}, {"process_vm_writev", 311}, {"pselect6", 270}, - {"ptrace", 101}, - {"ptrace$PTRACE_SECCOMP_GET_FILTER", 101}, - {"ptrace$PTRACE_SECCOMP_GET_METADATA", 101}, - {"ptrace$cont", 101}, - {"ptrace$getenv", 101}, - {"ptrace$getregs", 101}, - {"ptrace$getregset", 101}, - {"ptrace$getsig", 101}, - {"ptrace$peek", 101}, + {"ptrace", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_FILTER", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_METADATA", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$cont", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getenv", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregs", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregset", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getsig", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$peek", 101, { + 0, + 0, + 0, + 0, + 1, + }}, {"ptrace$peeksig", 101}, - {"ptrace$peekuser", 101}, - {"ptrace$poke", 101}, - {"ptrace$pokeuser", 101}, - {"ptrace$setopts", 101}, - {"ptrace$setregs", 101}, - {"ptrace$setregset", 101}, - {"ptrace$setsig", 101}, + {"ptrace$peekuser", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$poke", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$pokeuser", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setopts", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregs", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregset", 101, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setsig", 101, { + 0, + 0, + 0, + 0, + 1, + }}, {"pwrite64", 18}, {"pwritev", 296}, {"quotactl", 179}, @@ -7858,11 +8824,41 @@ const call_t syscalls[] = { {"sched_setparam", 142}, {"sched_setscheduler", 144}, {"sched_yield", 24}, - {"seccomp$SECCOMP_GET_ACTION_AVAIL", 317}, - {"seccomp$SECCOMP_GET_NOTIF_SIZES", 317}, - {"seccomp$SECCOMP_SET_MODE_FILTER", 317}, - {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 317}, - {"seccomp$SECCOMP_SET_MODE_STRICT", 317}, + {"seccomp$SECCOMP_GET_ACTION_AVAIL", 317, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_GET_NOTIF_SIZES", 317, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER", 317, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 317, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_STRICT", 317, { + 0, + 0, + 0, + 0, + 1, + }}, {"select", 23}, {"semctl$GETALL", 66}, {"semctl$GETNCNT", 66}, @@ -9263,8 +10259,20 @@ const call_t syscalls[] = { {"clock_gettime", 263}, {"clock_nanosleep", 265}, {"clock_settime", 262}, - {"clone", 120}, - {"clone3", 435}, + {"clone", 120, { + 0, + 0, + 0, + 0, + 1, + }}, + {"clone3", 435, { + 0, + 0, + 0, + 0, + 1, + }}, {"close", 6}, {"close$ibv_device", 6}, {"connect", 283}, @@ -10259,9 +11267,27 @@ const call_t syscalls[] = { {"ioctl$SCSI_IOCTL_STOP_UNIT", 54}, {"ioctl$SCSI_IOCTL_SYNC", 54}, {"ioctl$SCSI_IOCTL_TEST_UNIT_READY", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 54}, + {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 54, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 54, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 54, { + 0, + 0, + 0, + 0, + 1, + }}, {"ioctl$SG_EMULATED_HOST", 54}, {"ioctl$SG_GET_ACCESS_COUNT", 54}, {"ioctl$SG_GET_COMMAND_Q", 54}, @@ -11194,81 +12220,489 @@ const call_t syscalls[] = { {"pkey_mprotect", 394}, {"poll", 168}, {"ppoll", 336}, - {"prctl$PR_CAPBSET_DROP", 172}, - {"prctl$PR_CAPBSET_READ", 172}, - {"prctl$PR_CAP_AMBIENT", 172}, - {"prctl$PR_GET_CHILD_SUBREAPER", 172}, - {"prctl$PR_GET_DUMPABLE", 172}, - {"prctl$PR_GET_ENDIAN", 172}, - {"prctl$PR_GET_FPEMU", 172}, - {"prctl$PR_GET_FPEXC", 172}, - {"prctl$PR_GET_FP_MODE", 172}, - {"prctl$PR_GET_KEEPCAPS", 172}, - {"prctl$PR_GET_NAME", 172}, - {"prctl$PR_GET_NO_NEW_PRIVS", 172}, - {"prctl$PR_GET_PDEATHSIG", 172}, - {"prctl$PR_GET_SECCOMP", 172}, - {"prctl$PR_GET_SECUREBITS", 172}, - {"prctl$PR_GET_SPECULATION_CTRL", 172}, - {"prctl$PR_GET_THP_DISABLE", 172}, - {"prctl$PR_GET_TID_ADDRESS", 172}, - {"prctl$PR_GET_TIMERSLACK", 172}, - {"prctl$PR_GET_TSC", 172}, - {"prctl$PR_GET_UNALIGN", 172}, - {"prctl$PR_MCE_KILL", 172}, - {"prctl$PR_MCE_KILL_GET", 172}, - {"prctl$PR_MPX_DISABLE_MANAGEMENT", 172}, - {"prctl$PR_MPX_ENABLE_MANAGEMENT", 172}, - {"prctl$PR_SET_CHILD_SUBREAPER", 172}, - {"prctl$PR_SET_DUMPABLE", 172}, - {"prctl$PR_SET_ENDIAN", 172}, - {"prctl$PR_SET_FPEMU", 172}, - {"prctl$PR_SET_FPEXC", 172}, - {"prctl$PR_SET_FP_MODE", 172}, - {"prctl$PR_SET_KEEPCAPS", 172}, - {"prctl$PR_SET_MM", 172}, - {"prctl$PR_SET_MM_AUXV", 172}, - {"prctl$PR_SET_MM_EXE_FILE", 172}, - {"prctl$PR_SET_MM_MAP", 172}, - {"prctl$PR_SET_MM_MAP_SIZE", 172}, - {"prctl$PR_SET_NAME", 172}, - {"prctl$PR_SET_NO_NEW_PRIVS", 172}, - {"prctl$PR_SET_PDEATHSIG", 172}, - {"prctl$PR_SET_PTRACER", 172}, - {"prctl$PR_SET_SECCOMP", 172}, - {"prctl$PR_SET_SECUREBITS", 172}, - {"prctl$PR_SET_SPECULATION_CTRL", 172}, - {"prctl$PR_SET_THP_DISABLE", 172}, - {"prctl$PR_SET_TIMERSLACK", 172}, - {"prctl$PR_SET_TSC", 172}, - {"prctl$PR_SET_UNALIGN", 172}, - {"prctl$PR_SVE_GET_VL", 172}, - {"prctl$PR_SVE_SET_VL", 172}, - {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 172}, - {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 172}, + {"prctl$PR_CAPBSET_DROP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAPBSET_READ", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAP_AMBIENT", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_CHILD_SUBREAPER", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_DUMPABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_ENDIAN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEMU", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEXC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FP_MODE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_KEEPCAPS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NAME", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NO_NEW_PRIVS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_PDEATHSIG", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECCOMP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECUREBITS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SPECULATION_CTRL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_THP_DISABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TID_ADDRESS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TIMERSLACK", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TSC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_UNALIGN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL_GET", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_DISABLE_MANAGEMENT", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_ENABLE_MANAGEMENT", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_CHILD_SUBREAPER", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_DUMPABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_ENDIAN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEMU", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEXC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FP_MODE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_KEEPCAPS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_AUXV", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_EXE_FILE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP_SIZE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NAME", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NO_NEW_PRIVS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PDEATHSIG", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PTRACER", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECCOMP", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECUREBITS", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SPECULATION_CTRL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_THP_DISABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TIMERSLACK", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TSC", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_UNALIGN", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_GET_VL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_SET_VL", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 172, { + 0, + 0, + 0, + 0, + 1, + }}, {"pread64", 180}, {"preadv", 361}, {"prlimit64", 369}, {"process_vm_readv", 376}, {"process_vm_writev", 377}, {"pselect6", 335}, - {"ptrace", 26}, - {"ptrace$PTRACE_SECCOMP_GET_FILTER", 26}, - {"ptrace$PTRACE_SECCOMP_GET_METADATA", 26}, - {"ptrace$cont", 26}, - {"ptrace$getenv", 26}, - {"ptrace$getregs", 26}, - {"ptrace$getregset", 26}, - {"ptrace$getsig", 26}, - {"ptrace$peek", 26}, + {"ptrace", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_FILTER", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_METADATA", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$cont", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getenv", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregs", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregset", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getsig", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$peek", 26, { + 0, + 0, + 0, + 0, + 1, + }}, {"ptrace$peeksig", 26}, - {"ptrace$peekuser", 26}, - {"ptrace$poke", 26}, - {"ptrace$pokeuser", 26}, - {"ptrace$setopts", 26}, - {"ptrace$setregs", 26}, - {"ptrace$setregset", 26}, - {"ptrace$setsig", 26}, + {"ptrace$peekuser", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$poke", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$pokeuser", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setopts", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregs", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregset", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setsig", 26, { + 0, + 0, + 0, + 0, + 1, + }}, {"pwrite64", 181}, {"pwritev", 362}, {"quotactl", 131}, @@ -11345,11 +12779,41 @@ const call_t syscalls[] = { {"sched_setparam", 154}, {"sched_setscheduler", 156}, {"sched_yield", 158}, - {"seccomp$SECCOMP_GET_ACTION_AVAIL", 383}, - {"seccomp$SECCOMP_GET_NOTIF_SIZES", 383}, - {"seccomp$SECCOMP_SET_MODE_FILTER", 383}, - {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 383}, - {"seccomp$SECCOMP_SET_MODE_STRICT", 383}, + {"seccomp$SECCOMP_GET_ACTION_AVAIL", 383, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_GET_NOTIF_SIZES", 383, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER", 383, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 383, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_STRICT", 383, { + 0, + 0, + 0, + 0, + 1, + }}, {"semctl$GETALL", 300}, {"semctl$GETNCNT", 300}, {"semctl$GETPID", 300}, @@ -12745,8 +14209,20 @@ const call_t syscalls[] = { {"clock_gettime", 113}, {"clock_nanosleep", 115}, {"clock_settime", 112}, - {"clone", 220}, - {"clone3", 435}, + {"clone", 220, { + 0, + 0, + 0, + 0, + 1, + }}, + {"clone3", 435, { + 0, + 0, + 0, + 0, + 1, + }}, {"close", 57}, {"close$ibv_device", 57}, {"connect", 203}, @@ -13733,9 +15209,27 @@ const call_t syscalls[] = { {"ioctl$SCSI_IOCTL_STOP_UNIT", 29}, {"ioctl$SCSI_IOCTL_SYNC", 29}, {"ioctl$SCSI_IOCTL_TEST_UNIT_READY", 29}, - {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 29}, - {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 29}, - {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 29}, + {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 29, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 29, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 29, { + 0, + 0, + 0, + 0, + 1, + }}, {"ioctl$SG_EMULATED_HOST", 29}, {"ioctl$SG_GET_ACCESS_COUNT", 29}, {"ioctl$SG_GET_COMMAND_Q", 29}, @@ -14664,81 +16158,489 @@ const call_t syscalls[] = { {"pkey_free", 290}, {"pkey_mprotect", 288}, {"ppoll", 73}, - {"prctl$PR_CAPBSET_DROP", 167}, - {"prctl$PR_CAPBSET_READ", 167}, - {"prctl$PR_CAP_AMBIENT", 167}, - {"prctl$PR_GET_CHILD_SUBREAPER", 167}, - {"prctl$PR_GET_DUMPABLE", 167}, - {"prctl$PR_GET_ENDIAN", 167}, - {"prctl$PR_GET_FPEMU", 167}, - {"prctl$PR_GET_FPEXC", 167}, - {"prctl$PR_GET_FP_MODE", 167}, - {"prctl$PR_GET_KEEPCAPS", 167}, - {"prctl$PR_GET_NAME", 167}, - {"prctl$PR_GET_NO_NEW_PRIVS", 167}, - {"prctl$PR_GET_PDEATHSIG", 167}, - {"prctl$PR_GET_SECCOMP", 167}, - {"prctl$PR_GET_SECUREBITS", 167}, - {"prctl$PR_GET_SPECULATION_CTRL", 167}, - {"prctl$PR_GET_THP_DISABLE", 167}, - {"prctl$PR_GET_TID_ADDRESS", 167}, - {"prctl$PR_GET_TIMERSLACK", 167}, - {"prctl$PR_GET_TSC", 167}, - {"prctl$PR_GET_UNALIGN", 167}, - {"prctl$PR_MCE_KILL", 167}, - {"prctl$PR_MCE_KILL_GET", 167}, - {"prctl$PR_MPX_DISABLE_MANAGEMENT", 167}, - {"prctl$PR_MPX_ENABLE_MANAGEMENT", 167}, - {"prctl$PR_SET_CHILD_SUBREAPER", 167}, - {"prctl$PR_SET_DUMPABLE", 167}, - {"prctl$PR_SET_ENDIAN", 167}, - {"prctl$PR_SET_FPEMU", 167}, - {"prctl$PR_SET_FPEXC", 167}, - {"prctl$PR_SET_FP_MODE", 167}, - {"prctl$PR_SET_KEEPCAPS", 167}, - {"prctl$PR_SET_MM", 167}, - {"prctl$PR_SET_MM_AUXV", 167}, - {"prctl$PR_SET_MM_EXE_FILE", 167}, - {"prctl$PR_SET_MM_MAP", 167}, - {"prctl$PR_SET_MM_MAP_SIZE", 167}, - {"prctl$PR_SET_NAME", 167}, - {"prctl$PR_SET_NO_NEW_PRIVS", 167}, - {"prctl$PR_SET_PDEATHSIG", 167}, - {"prctl$PR_SET_PTRACER", 167}, - {"prctl$PR_SET_SECCOMP", 167}, - {"prctl$PR_SET_SECUREBITS", 167}, - {"prctl$PR_SET_SPECULATION_CTRL", 167}, - {"prctl$PR_SET_THP_DISABLE", 167}, - {"prctl$PR_SET_TIMERSLACK", 167}, - {"prctl$PR_SET_TSC", 167}, - {"prctl$PR_SET_UNALIGN", 167}, - {"prctl$PR_SVE_GET_VL", 167}, - {"prctl$PR_SVE_SET_VL", 167}, - {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 167}, - {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 167}, + {"prctl$PR_CAPBSET_DROP", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAPBSET_READ", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAP_AMBIENT", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_CHILD_SUBREAPER", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_DUMPABLE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_ENDIAN", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEMU", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEXC", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FP_MODE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_KEEPCAPS", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NAME", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NO_NEW_PRIVS", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_PDEATHSIG", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECCOMP", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECUREBITS", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SPECULATION_CTRL", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_THP_DISABLE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TID_ADDRESS", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TIMERSLACK", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TSC", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_UNALIGN", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL_GET", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_DISABLE_MANAGEMENT", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_ENABLE_MANAGEMENT", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_CHILD_SUBREAPER", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_DUMPABLE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_ENDIAN", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEMU", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEXC", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FP_MODE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_KEEPCAPS", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_AUXV", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_EXE_FILE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP_SIZE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NAME", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NO_NEW_PRIVS", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PDEATHSIG", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PTRACER", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECCOMP", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECUREBITS", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SPECULATION_CTRL", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_THP_DISABLE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TIMERSLACK", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TSC", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_UNALIGN", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_GET_VL", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_SET_VL", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 167, { + 0, + 0, + 0, + 0, + 1, + }}, {"pread64", 67}, {"preadv", 69}, {"prlimit64", 261}, {"process_vm_readv", 270}, {"process_vm_writev", 271}, {"pselect6", 72}, - {"ptrace", 117}, - {"ptrace$PTRACE_SECCOMP_GET_FILTER", 117}, - {"ptrace$PTRACE_SECCOMP_GET_METADATA", 117}, - {"ptrace$cont", 117}, - {"ptrace$getenv", 117}, - {"ptrace$getregs", 117}, - {"ptrace$getregset", 117}, - {"ptrace$getsig", 117}, - {"ptrace$peek", 117}, + {"ptrace", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_FILTER", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_METADATA", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$cont", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getenv", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregs", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregset", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getsig", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$peek", 117, { + 0, + 0, + 0, + 0, + 1, + }}, {"ptrace$peeksig", 117}, - {"ptrace$peekuser", 117}, - {"ptrace$poke", 117}, - {"ptrace$pokeuser", 117}, - {"ptrace$setopts", 117}, - {"ptrace$setregs", 117}, - {"ptrace$setregset", 117}, - {"ptrace$setsig", 117}, + {"ptrace$peekuser", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$poke", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$pokeuser", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setopts", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregs", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregset", 117, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setsig", 117, { + 0, + 0, + 0, + 0, + 1, + }}, {"pwrite64", 68}, {"pwritev", 70}, {"quotactl", 60}, @@ -14812,11 +16714,41 @@ const call_t syscalls[] = { {"sched_setparam", 118}, {"sched_setscheduler", 119}, {"sched_yield", 124}, - {"seccomp$SECCOMP_GET_ACTION_AVAIL", 277}, - {"seccomp$SECCOMP_GET_NOTIF_SIZES", 277}, - {"seccomp$SECCOMP_SET_MODE_FILTER", 277}, - {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 277}, - {"seccomp$SECCOMP_SET_MODE_STRICT", 277}, + {"seccomp$SECCOMP_GET_ACTION_AVAIL", 277, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_GET_NOTIF_SIZES", 277, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER", 277, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 277, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_STRICT", 277, { + 0, + 0, + 0, + 0, + 1, + }}, {"semctl$GETALL", 191}, {"semctl$GETNCNT", 191}, {"semctl$GETPID", 191}, @@ -16204,8 +18136,20 @@ const call_t syscalls[] = { {"clock_gettime", 5222}, {"clock_nanosleep", 5224}, {"clock_settime", 5221}, - {"clone", 5055}, - {"clone3", 5435}, + {"clone", 5055, { + 0, + 0, + 0, + 0, + 1, + }}, + {"clone3", 5435, { + 0, + 0, + 0, + 0, + 1, + }}, {"close", 5003}, {"close$ibv_device", 5003}, {"connect", 5041}, @@ -17197,9 +19141,27 @@ const call_t syscalls[] = { {"ioctl$SCSI_IOCTL_STOP_UNIT", 5015}, {"ioctl$SCSI_IOCTL_SYNC", 5015}, {"ioctl$SCSI_IOCTL_TEST_UNIT_READY", 5015}, - {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 5015}, - {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 5015}, - {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 5015}, + {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 5015, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 5015, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 5015, { + 0, + 0, + 0, + 0, + 1, + }}, {"ioctl$SG_EMULATED_HOST", 5015}, {"ioctl$SG_GET_ACCESS_COUNT", 5015}, {"ioctl$SG_GET_COMMAND_Q", 5015}, @@ -18034,81 +19996,489 @@ const call_t syscalls[] = { {"pkey_mprotect", 5323}, {"poll", 5007}, {"ppoll", 5261}, - {"prctl$PR_CAPBSET_DROP", 5153}, - {"prctl$PR_CAPBSET_READ", 5153}, - {"prctl$PR_CAP_AMBIENT", 5153}, - {"prctl$PR_GET_CHILD_SUBREAPER", 5153}, - {"prctl$PR_GET_DUMPABLE", 5153}, - {"prctl$PR_GET_ENDIAN", 5153}, - {"prctl$PR_GET_FPEMU", 5153}, - {"prctl$PR_GET_FPEXC", 5153}, - {"prctl$PR_GET_FP_MODE", 5153}, - {"prctl$PR_GET_KEEPCAPS", 5153}, - {"prctl$PR_GET_NAME", 5153}, - {"prctl$PR_GET_NO_NEW_PRIVS", 5153}, - {"prctl$PR_GET_PDEATHSIG", 5153}, - {"prctl$PR_GET_SECCOMP", 5153}, - {"prctl$PR_GET_SECUREBITS", 5153}, - {"prctl$PR_GET_SPECULATION_CTRL", 5153}, - {"prctl$PR_GET_THP_DISABLE", 5153}, - {"prctl$PR_GET_TID_ADDRESS", 5153}, - {"prctl$PR_GET_TIMERSLACK", 5153}, - {"prctl$PR_GET_TSC", 5153}, - {"prctl$PR_GET_UNALIGN", 5153}, - {"prctl$PR_MCE_KILL", 5153}, - {"prctl$PR_MCE_KILL_GET", 5153}, - {"prctl$PR_MPX_DISABLE_MANAGEMENT", 5153}, - {"prctl$PR_MPX_ENABLE_MANAGEMENT", 5153}, - {"prctl$PR_SET_CHILD_SUBREAPER", 5153}, - {"prctl$PR_SET_DUMPABLE", 5153}, - {"prctl$PR_SET_ENDIAN", 5153}, - {"prctl$PR_SET_FPEMU", 5153}, - {"prctl$PR_SET_FPEXC", 5153}, - {"prctl$PR_SET_FP_MODE", 5153}, - {"prctl$PR_SET_KEEPCAPS", 5153}, - {"prctl$PR_SET_MM", 5153}, - {"prctl$PR_SET_MM_AUXV", 5153}, - {"prctl$PR_SET_MM_EXE_FILE", 5153}, - {"prctl$PR_SET_MM_MAP", 5153}, - {"prctl$PR_SET_MM_MAP_SIZE", 5153}, - {"prctl$PR_SET_NAME", 5153}, - {"prctl$PR_SET_NO_NEW_PRIVS", 5153}, - {"prctl$PR_SET_PDEATHSIG", 5153}, - {"prctl$PR_SET_PTRACER", 5153}, - {"prctl$PR_SET_SECCOMP", 5153}, - {"prctl$PR_SET_SECUREBITS", 5153}, - {"prctl$PR_SET_SPECULATION_CTRL", 5153}, - {"prctl$PR_SET_THP_DISABLE", 5153}, - {"prctl$PR_SET_TIMERSLACK", 5153}, - {"prctl$PR_SET_TSC", 5153}, - {"prctl$PR_SET_UNALIGN", 5153}, - {"prctl$PR_SVE_GET_VL", 5153}, - {"prctl$PR_SVE_SET_VL", 5153}, - {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 5153}, - {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 5153}, + {"prctl$PR_CAPBSET_DROP", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAPBSET_READ", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAP_AMBIENT", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_CHILD_SUBREAPER", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_DUMPABLE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_ENDIAN", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEMU", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEXC", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FP_MODE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_KEEPCAPS", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NAME", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NO_NEW_PRIVS", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_PDEATHSIG", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECCOMP", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECUREBITS", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SPECULATION_CTRL", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_THP_DISABLE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TID_ADDRESS", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TIMERSLACK", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TSC", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_UNALIGN", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL_GET", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_DISABLE_MANAGEMENT", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_ENABLE_MANAGEMENT", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_CHILD_SUBREAPER", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_DUMPABLE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_ENDIAN", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEMU", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEXC", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FP_MODE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_KEEPCAPS", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_AUXV", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_EXE_FILE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP_SIZE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NAME", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NO_NEW_PRIVS", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PDEATHSIG", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PTRACER", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECCOMP", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECUREBITS", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SPECULATION_CTRL", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_THP_DISABLE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TIMERSLACK", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TSC", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_UNALIGN", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_GET_VL", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_SET_VL", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 5153, { + 0, + 0, + 0, + 0, + 1, + }}, {"pread64", 5016}, {"preadv", 5289}, {"prlimit64", 5297}, {"process_vm_readv", 5304}, {"process_vm_writev", 5305}, {"pselect6", 5260}, - {"ptrace", 5099}, - {"ptrace$PTRACE_SECCOMP_GET_FILTER", 5099}, - {"ptrace$PTRACE_SECCOMP_GET_METADATA", 5099}, - {"ptrace$cont", 5099}, - {"ptrace$getenv", 5099}, - {"ptrace$getregs", 5099}, - {"ptrace$getregset", 5099}, - {"ptrace$getsig", 5099}, - {"ptrace$peek", 5099}, + {"ptrace", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_FILTER", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_METADATA", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$cont", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getenv", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregs", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregset", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getsig", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$peek", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, {"ptrace$peeksig", 5099}, - {"ptrace$peekuser", 5099}, - {"ptrace$poke", 5099}, - {"ptrace$pokeuser", 5099}, - {"ptrace$setopts", 5099}, - {"ptrace$setregs", 5099}, - {"ptrace$setregset", 5099}, - {"ptrace$setsig", 5099}, + {"ptrace$peekuser", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$poke", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$pokeuser", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setopts", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregs", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregset", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setsig", 5099, { + 0, + 0, + 0, + 0, + 1, + }}, {"pwrite64", 5017}, {"pwritev", 5290}, {"quotactl", 5172}, @@ -18185,11 +20555,41 @@ const call_t syscalls[] = { {"sched_setparam", 5139}, {"sched_setscheduler", 5141}, {"sched_yield", 5023}, - {"seccomp$SECCOMP_GET_ACTION_AVAIL", 5312}, - {"seccomp$SECCOMP_GET_NOTIF_SIZES", 5312}, - {"seccomp$SECCOMP_SET_MODE_FILTER", 5312}, - {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 5312}, - {"seccomp$SECCOMP_SET_MODE_STRICT", 5312}, + {"seccomp$SECCOMP_GET_ACTION_AVAIL", 5312, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_GET_NOTIF_SIZES", 5312, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER", 5312, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 5312, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_STRICT", 5312, { + 0, + 0, + 0, + 0, + 1, + }}, {"semctl$GETALL", 5064}, {"semctl$GETNCNT", 5064}, {"semctl$GETPID", 5064}, @@ -19588,8 +21988,20 @@ const call_t syscalls[] = { {"clock_gettime", 246}, {"clock_nanosleep", 248}, {"clock_settime", 245}, - {"clone", 120}, - {"clone3", 435}, + {"clone", 120, { + 0, + 0, + 0, + 0, + 1, + }}, + {"clone3", 435, { + 0, + 0, + 0, + 0, + 1, + }}, {"close", 6}, {"close$ibv_device", 6}, {"connect", 328}, @@ -20581,9 +22993,27 @@ const call_t syscalls[] = { {"ioctl$SCSI_IOCTL_STOP_UNIT", 54}, {"ioctl$SCSI_IOCTL_SYNC", 54}, {"ioctl$SCSI_IOCTL_TEST_UNIT_READY", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 54}, - {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 54}, + {"ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID", 54, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_RECV", 54, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ioctl$SECCOMP_IOCTL_NOTIF_SEND", 54, { + 0, + 0, + 0, + 0, + 1, + }}, {"ioctl$SG_EMULATED_HOST", 54}, {"ioctl$SG_GET_ACCESS_COUNT", 54}, {"ioctl$SG_GET_COMMAND_Q", 54}, @@ -21522,81 +23952,489 @@ const call_t syscalls[] = { {"pkey_mprotect", 386}, {"poll", 167}, {"ppoll", 281}, - {"prctl$PR_CAPBSET_DROP", 171}, - {"prctl$PR_CAPBSET_READ", 171}, - {"prctl$PR_CAP_AMBIENT", 171}, - {"prctl$PR_GET_CHILD_SUBREAPER", 171}, - {"prctl$PR_GET_DUMPABLE", 171}, - {"prctl$PR_GET_ENDIAN", 171}, - {"prctl$PR_GET_FPEMU", 171}, - {"prctl$PR_GET_FPEXC", 171}, - {"prctl$PR_GET_FP_MODE", 171}, - {"prctl$PR_GET_KEEPCAPS", 171}, - {"prctl$PR_GET_NAME", 171}, - {"prctl$PR_GET_NO_NEW_PRIVS", 171}, - {"prctl$PR_GET_PDEATHSIG", 171}, - {"prctl$PR_GET_SECCOMP", 171}, - {"prctl$PR_GET_SECUREBITS", 171}, - {"prctl$PR_GET_SPECULATION_CTRL", 171}, - {"prctl$PR_GET_THP_DISABLE", 171}, - {"prctl$PR_GET_TID_ADDRESS", 171}, - {"prctl$PR_GET_TIMERSLACK", 171}, - {"prctl$PR_GET_TSC", 171}, - {"prctl$PR_GET_UNALIGN", 171}, - {"prctl$PR_MCE_KILL", 171}, - {"prctl$PR_MCE_KILL_GET", 171}, - {"prctl$PR_MPX_DISABLE_MANAGEMENT", 171}, - {"prctl$PR_MPX_ENABLE_MANAGEMENT", 171}, - {"prctl$PR_SET_CHILD_SUBREAPER", 171}, - {"prctl$PR_SET_DUMPABLE", 171}, - {"prctl$PR_SET_ENDIAN", 171}, - {"prctl$PR_SET_FPEMU", 171}, - {"prctl$PR_SET_FPEXC", 171}, - {"prctl$PR_SET_FP_MODE", 171}, - {"prctl$PR_SET_KEEPCAPS", 171}, - {"prctl$PR_SET_MM", 171}, - {"prctl$PR_SET_MM_AUXV", 171}, - {"prctl$PR_SET_MM_EXE_FILE", 171}, - {"prctl$PR_SET_MM_MAP", 171}, - {"prctl$PR_SET_MM_MAP_SIZE", 171}, - {"prctl$PR_SET_NAME", 171}, - {"prctl$PR_SET_NO_NEW_PRIVS", 171}, - {"prctl$PR_SET_PDEATHSIG", 171}, - {"prctl$PR_SET_PTRACER", 171}, - {"prctl$PR_SET_SECCOMP", 171}, - {"prctl$PR_SET_SECUREBITS", 171}, - {"prctl$PR_SET_SPECULATION_CTRL", 171}, - {"prctl$PR_SET_THP_DISABLE", 171}, - {"prctl$PR_SET_TIMERSLACK", 171}, - {"prctl$PR_SET_TSC", 171}, - {"prctl$PR_SET_UNALIGN", 171}, - {"prctl$PR_SVE_GET_VL", 171}, - {"prctl$PR_SVE_SET_VL", 171}, - {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 171}, - {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 171}, + {"prctl$PR_CAPBSET_DROP", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAPBSET_READ", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_CAP_AMBIENT", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_CHILD_SUBREAPER", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_DUMPABLE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_ENDIAN", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEMU", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FPEXC", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_FP_MODE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_KEEPCAPS", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NAME", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_NO_NEW_PRIVS", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_PDEATHSIG", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECCOMP", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SECUREBITS", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_SPECULATION_CTRL", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_THP_DISABLE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TID_ADDRESS", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TIMERSLACK", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_TSC", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_GET_UNALIGN", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MCE_KILL_GET", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_DISABLE_MANAGEMENT", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_MPX_ENABLE_MANAGEMENT", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_CHILD_SUBREAPER", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_DUMPABLE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_ENDIAN", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEMU", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FPEXC", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_FP_MODE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_KEEPCAPS", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_AUXV", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_EXE_FILE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_MM_MAP_SIZE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NAME", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_NO_NEW_PRIVS", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PDEATHSIG", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_PTRACER", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECCOMP", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SECUREBITS", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_SPECULATION_CTRL", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_THP_DISABLE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TIMERSLACK", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_TSC", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SET_UNALIGN", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_GET_VL", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_SVE_SET_VL", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_DISABLE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, + {"prctl$PR_TASK_PERF_EVENTS_ENABLE", 171, { + 0, + 0, + 0, + 0, + 1, + }}, {"pread64", 179}, {"preadv", 320}, {"prlimit64", 325}, {"process_vm_readv", 351}, {"process_vm_writev", 352}, {"pselect6", 280}, - {"ptrace", 26}, - {"ptrace$PTRACE_SECCOMP_GET_FILTER", 26}, - {"ptrace$PTRACE_SECCOMP_GET_METADATA", 26}, - {"ptrace$cont", 26}, - {"ptrace$getenv", 26}, - {"ptrace$getregs", 26}, - {"ptrace$getregset", 26}, - {"ptrace$getsig", 26}, - {"ptrace$peek", 26}, + {"ptrace", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_FILTER", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$PTRACE_SECCOMP_GET_METADATA", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$cont", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getenv", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregs", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getregset", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$getsig", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$peek", 26, { + 0, + 0, + 0, + 0, + 1, + }}, {"ptrace$peeksig", 26}, - {"ptrace$peekuser", 26}, - {"ptrace$poke", 26}, - {"ptrace$pokeuser", 26}, - {"ptrace$setopts", 26}, - {"ptrace$setregs", 26}, - {"ptrace$setregset", 26}, - {"ptrace$setsig", 26}, + {"ptrace$peekuser", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$poke", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$pokeuser", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setopts", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregs", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setregset", 26, { + 0, + 0, + 0, + 0, + 1, + }}, + {"ptrace$setsig", 26, { + 0, + 0, + 0, + 0, + 1, + }}, {"pwrite64", 180}, {"pwritev", 321}, {"quotactl", 131}, @@ -21673,11 +24511,41 @@ const call_t syscalls[] = { {"sched_setparam", 154}, {"sched_setscheduler", 156}, {"sched_yield", 158}, - {"seccomp$SECCOMP_GET_ACTION_AVAIL", 358}, - {"seccomp$SECCOMP_GET_NOTIF_SIZES", 358}, - {"seccomp$SECCOMP_SET_MODE_FILTER", 358}, - {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 358}, - {"seccomp$SECCOMP_SET_MODE_STRICT", 358}, + {"seccomp$SECCOMP_GET_ACTION_AVAIL", 358, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_GET_NOTIF_SIZES", 358, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER", 358, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", 358, { + 0, + 0, + 0, + 0, + 1, + }}, + {"seccomp$SECCOMP_SET_MODE_STRICT", 358, { + 0, + 0, + 0, + 0, + 1, + }}, {"select", 82}, {"semctl$GETALL", 394}, {"semctl$GETNCNT", 394}, @@ -23550,6 +26418,13 @@ const call_t syscalls[] = { #if GOARCH_32_fork_shmem const call_t syscalls[] = { + {"breaks_returns", 0, { + 0, + 0, + 0, + 0, + 1, + }}, {"fallback$0", 0}, {"fallback$1", 0}, {"foo$any0", 0}, @@ -23580,8 +26455,6 @@ const call_t syscalls[] = { {"mutate_integer2", 0}, {"mutate_rangedbuffer", 0}, {"mutate_union", 0}, - {"prctl$PR_SET_SECCOMP", 0}, - {"seccomp", 0}, {"serialize0", 0}, {"serialize1", 0}, {"syz_compare", 0, {}, (syscall_t)syz_compare}, @@ -23693,6 +26566,13 @@ const call_t syscalls[] = { #if GOARCH_32_shmem const call_t syscalls[] = { + {"breaks_returns", 0, { + 0, + 0, + 0, + 0, + 1, + }}, {"fallback$0", 0}, {"fallback$1", 0}, {"foo$any0", 0}, @@ -23723,8 +26603,6 @@ const call_t syscalls[] = { {"mutate_integer2", 0}, {"mutate_rangedbuffer", 0}, {"mutate_union", 0}, - {"prctl$PR_SET_SECCOMP", 0}, - {"seccomp", 0}, {"serialize0", 0}, {"serialize1", 0}, {"syz_compare", 0, {}, (syscall_t)syz_compare}, @@ -23836,6 +26714,13 @@ const call_t syscalls[] = { #if GOARCH_64 const call_t syscalls[] = { + {"breaks_returns", 0, { + 0, + 0, + 0, + 0, + 1, + }}, {"fallback$0", 0}, {"fallback$1", 0}, {"foo$any0", 0}, @@ -23867,8 +26752,6 @@ const call_t syscalls[] = { {"mutate_integer2", 0}, {"mutate_rangedbuffer", 0}, {"mutate_union", 0}, - {"prctl$PR_SET_SECCOMP", 0}, - {"seccomp", 0}, {"serialize0", 0}, {"serialize1", 0}, {"syz_compare", 0, {}, (syscall_t)syz_compare}, @@ -23980,6 +26863,13 @@ const call_t syscalls[] = { #if GOARCH_64_fork const call_t syscalls[] = { + {"breaks_returns", 0, { + 0, + 0, + 0, + 0, + 1, + }}, {"fallback$0", 0}, {"fallback$1", 0}, {"foo$any0", 0}, @@ -24010,8 +26900,6 @@ const call_t syscalls[] = { {"mutate_integer2", 0}, {"mutate_rangedbuffer", 0}, {"mutate_union", 0}, - {"prctl$PR_SET_SECCOMP", 0}, - {"seccomp", 0}, {"serialize0", 0}, {"serialize1", 0}, {"syz_compare", 0, {}, (syscall_t)syz_compare}, diff --git a/prog/analysis.go b/prog/analysis.go index 10d99a787..fe022b670 100644 --- a/prog/analysis.go +++ b/prog/analysis.go @@ -206,12 +206,7 @@ func (p *Prog) FallbackSignal(info []CallInfo) { typ = fallbackSignalErrnoBlocked } inf.Signal = append(inf.Signal, encodeFallbackSignal(typ, id, inf.Errno)) - // seccomp filter can produce arbitrary errno values for subsequent syscalls. - // Don't trust anything afterwards. prctl can setup seccomp too. - // clone+ptrace combo cause fallback coverage explosion under gvisor. - // Mechanics of that are unclear, but effect is very clear. - if c.Meta.CallName == "seccomp" || c.Meta.CallName == "prctl" || - c.Meta.CallName == "clone" || c.Meta.CallName == "ptrace" { + if c.Meta.Attrs.BreaksReturns { break } if inf.Errno != 0 { diff --git a/prog/prog_test.go b/prog/prog_test.go index 16a54e2d6..a42e4437f 100644 --- a/prog/prog_test.go +++ b/prog/prog_test.go @@ -328,9 +328,9 @@ fallback$1(0x0) ` fallback$0() fallback$0() -seccomp() +breaks_returns() fallback$0() -seccomp() +breaks_returns() fallback$0() fallback$0() `, @@ -369,9 +369,9 @@ fallback$0() { ` fallback$0() -prctl$PR_SET_SECCOMP() +breaks_returns() fallback$0() -prctl$PR_SET_SECCOMP() +breaks_returns() fallback$0() `, []CallInfo{ diff --git a/prog/types.go b/prog/types.go index 9257fae37..f07de2b16 100644 --- a/prog/types.go +++ b/prog/types.go @@ -30,14 +30,14 @@ type Syscall struct { // syz-sysgen uses this structure to generate code for executor. // // Only bool's and uint64's are currently supported. +// +// See docs/syscall_descriptions_syntax.md for description of individual attributes. type SyscallAttrs struct { - // Never enable this system call in fuzzing. - Disabled bool - // Additional execution timeout (in ms) for the call on top of some default value. - Timeout uint64 - // Additional execution timeout (in ms) for the whole program if it contains this call. - // If a program contains several such calls, the max value is used. - ProgTimeout uint64 + Disabled bool + Timeout uint64 + ProgTimeout uint64 + IgnoreReturn bool + BreaksReturns bool } // MaxArgs is maximum number of syscall arguments. diff --git a/sys/fuchsia/gen/amd64.go b/sys/fuchsia/gen/amd64.go index 6f9c6df67..fc38577ba 100644 --- a/sys/fuchsia/gen/amd64.go +++ b/sys/fuchsia/gen/amd64.go @@ -6754,8 +6754,8 @@ var syscalls_amd64 = []*Syscall{ {Name: "zx_clock_get", CallName: "zx_clock_get", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "clock_id", FldName: "clock_id", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "zx_time", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, - {Name: "zx_clock_get_monotonic", CallName: "zx_clock_get_monotonic"}, + }, Attrs: SyscallAttrs{IgnoreReturn: true}}, + {Name: "zx_clock_get_monotonic", CallName: "zx_clock_get_monotonic", Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_cprng_add_entropy", CallName: "zx_cprng_add_entropy", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buffer"}}, @@ -6766,7 +6766,7 @@ var syscalls_amd64 = []*Syscall{ }}, {Name: "zx_deadline_after", CallName: "zx_deadline_after", Args: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ns", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_time", FldName: "ret", TypeSize: 8, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_time", FldName: "ret", TypeSize: 8, ArgDir: 1}}, Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_debuglog_create", CallName: "zx_debuglog_create", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_root_resource", FldName: "root_resource", TypeSize: 4}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "log_create_options", FldName: "options", TypeSize: 8}}, []uint64{1073741824}, true}, @@ -6777,7 +6777,7 @@ var syscalls_amd64 = []*Syscall{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "options", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "ptr", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"ptr"}}, - }}, + }, Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_debuglog_write", CallName: "zx_debuglog_write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_debug_log", FldName: "handle", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "options", TypeSize: 4}}}, @@ -7227,7 +7227,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 8}, &ArrayType{TypeCommon{TypeName: "array", TypeSize: 144}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 18, 18}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buffer"}}, }}, - {Name: "zx_ticks_get", CallName: "zx_ticks_get"}, + {Name: "zx_ticks_get", CallName: "zx_ticks_get", Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_ticks_per_second", CallName: "zx_ticks_per_second"}, {Name: "zx_timer_cancel", CallName: "zx_timer_cancel", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_timer", FldName: "handle", TypeSize: 4}}, @@ -7590,4 +7590,4 @@ var consts_amd64 = []ConstValue{ {Name: "fuchsia_power_Status_OK"}, } -const revision_amd64 = "affb41e7463b2c8dbaf4456cc5c1135057b68e70" +const revision_amd64 = "296a2146dc159a2236ebb2611b4738dfb8eb8cca" diff --git a/sys/fuchsia/gen/arm64.go b/sys/fuchsia/gen/arm64.go index 875c9fc26..2cf63b20b 100644 --- a/sys/fuchsia/gen/arm64.go +++ b/sys/fuchsia/gen/arm64.go @@ -6754,8 +6754,8 @@ var syscalls_arm64 = []*Syscall{ {Name: "zx_clock_get", CallName: "zx_clock_get", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "clock_id", FldName: "clock_id", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "zx_time", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, - {Name: "zx_clock_get_monotonic", CallName: "zx_clock_get_monotonic"}, + }, Attrs: SyscallAttrs{IgnoreReturn: true}}, + {Name: "zx_clock_get_monotonic", CallName: "zx_clock_get_monotonic", Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_cprng_add_entropy", CallName: "zx_cprng_add_entropy", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"buffer"}}, @@ -6766,7 +6766,7 @@ var syscalls_arm64 = []*Syscall{ }}, {Name: "zx_deadline_after", CallName: "zx_deadline_after", Args: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "ns", TypeSize: 8}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_time", FldName: "ret", TypeSize: 8, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_time", FldName: "ret", TypeSize: 8, ArgDir: 1}}, Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_debuglog_create", CallName: "zx_debuglog_create", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_root_resource", FldName: "root_resource", TypeSize: 4}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "log_create_options", FldName: "options", TypeSize: 8}}, []uint64{1073741824}, true}, @@ -6777,7 +6777,7 @@ var syscalls_arm64 = []*Syscall{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "options", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "ptr", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", TypeSize: 8}}, Path: []string{"ptr"}}, - }}, + }, Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_debuglog_write", CallName: "zx_debuglog_write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_debug_log", FldName: "handle", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "options", TypeSize: 4}}}, @@ -7227,7 +7227,7 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "buffer", TypeSize: 8}, &ArrayType{TypeCommon{TypeName: "array", TypeSize: 144}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, 1, 18, 18}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buffer"}}, }}, - {Name: "zx_ticks_get", CallName: "zx_ticks_get"}, + {Name: "zx_ticks_get", CallName: "zx_ticks_get", Attrs: SyscallAttrs{IgnoreReturn: true}}, {Name: "zx_ticks_per_second", CallName: "zx_ticks_per_second"}, {Name: "zx_timer_cancel", CallName: "zx_timer_cancel", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "zx_timer", FldName: "handle", TypeSize: 4}}, @@ -7590,4 +7590,4 @@ var consts_arm64 = []ConstValue{ {Name: "fuchsia_power_Status_OK"}, } -const revision_arm64 = "8169a7bb61f8f0d31d96b66fb157d4e71855b481" +const revision_arm64 = "9cbe7499118d822801d5206c4902813557175c30" diff --git a/sys/fuchsia/log.txt b/sys/fuchsia/log.txt index bf2c9ceb9..008128844 100644 --- a/sys/fuchsia/log.txt +++ b/sys/fuchsia/log.txt @@ -8,7 +8,7 @@ resource zx_debug_log[zx_handle] # Undocumented syscall zx_debuglog_create(root_resource zx_root_resource, options flags[log_create_options], out ptr[out, zx_debug_log]) -zx_debuglog_read(handle zx_debug_log, options int32, ptr ptr[out, array[int8]], size len[ptr]) +zx_debuglog_read(handle zx_debug_log, options int32, ptr ptr[out, array[int8]], size len[ptr]) (ignore_return) zx_debuglog_write(handle zx_debug_log, options int32, ptr ptr[in, array[int8]], size len[ptr]) log_create_options = ZX_LOG_FLAG_READABLE diff --git a/sys/fuchsia/time.txt b/sys/fuchsia/time.txt index d0372c71e..a756147bd 100644 --- a/sys/fuchsia/time.txt +++ b/sys/fuchsia/time.txt @@ -6,11 +6,11 @@ include <zircon/syscalls.h> resource zx_time[int64]: 0, ZX_TIME_INFINITE zx_nanosleep(deadline zx_time) -zx_clock_get(clock_id flags[clock_id], zx_time ptr[out, intptr]) -zx_clock_get_monotonic() -zx_ticks_get() +zx_clock_get(clock_id flags[clock_id], zx_time ptr[out, intptr]) (ignore_return) +zx_clock_get_monotonic() (ignore_return) +zx_ticks_get() (ignore_return) zx_ticks_per_second() -zx_deadline_after(ns int64) zx_time +zx_deadline_after(ns int64) zx_time (ignore_return) # TODO: undocumented # zx_clock_adjust? diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index d8e1a08a9..ea1b69f91 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -50113,11 +50113,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "parentid", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "childtid", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "tls", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 435, Name: "clone3", CallName: "clone3", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "args", TypeSize: 4}, &StructType{Key: StructKey{Name: "clone_args"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Path: []string{"args"}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 6, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, @@ -55584,17 +55584,17 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148016386}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SECCOMP_IOCTL_NOTIF_RECV", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3226476800}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{"seccomp_notif", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SECCOMP_IOCTL_NOTIF_SEND", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222806785}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "seccomp_notif_resp"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SG_EMULATED_HOST", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8707}, @@ -60530,208 +60530,208 @@ var syscalls_386 = []*Syscall{ {NR: 172, Name: "prctl$PR_CAPBSET_DROP", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 24}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_CAPBSET_READ", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 23}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_CAP_AMBIENT", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 47}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_cap_ambient", FldName: "arg2", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg3", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_DUMPABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 3}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 19}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 9}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 11}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_FP_MODE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 46}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_KEEPCAPS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 7}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 16}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 39}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 2}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_SECCOMP", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 21}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_SECUREBITS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 27}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 52}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 4}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pr_spec_mode", FldName: "arg3", TypeSize: 4}}, []uint64{2, 4, 8}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_THP_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 42}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_TID_ADDRESS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 40}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_TIMERSLACK", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 30}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 25}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 5}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MCE_KILL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 33}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_mode", FldName: "arg2", TypeSize: 4}}, Vals: []uint64{0, 1}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_submode", FldName: "arg3", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MCE_KILL_GET", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 34}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MPX_DISABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 44}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MPX_ENABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 43}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 36}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_DUMPABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 4}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_dump_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 20}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_endian_mode", FldName: "arg", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 10}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpemu_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 12}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpexc_mode", FldName: "arg", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 128, 65536, 131072, 262144, 524288, 1048576}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_FP_MODE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 45}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fp_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_KEEPCAPS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mm_option", FldName: "opt", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_AUXV", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 12}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_EXE_FILE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 13}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_MAP", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 14}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "prctl_mm_map"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_MAP_SIZE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 38}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 4}}, Val: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 65}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_PTRACER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 1499557217}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_SECCOMP", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 22}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_seccomp_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "prog", TypeSize: 4}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_SECUREBITS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 28}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_securebits", FldName: "arg", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 53}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_THP_DISABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 41}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_TIMERSLACK", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 26}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_tsc_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 6}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_align_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SVE_GET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 131072}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SVE_SET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 50}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 262144}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_TASK_PERF_EVENTS_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 31}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_TASK_PERF_EVENTS_ENABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 32}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 180, Name: "pread64", CallName: "pread64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -60777,54 +60777,54 @@ var syscalls_386 = []*Syscall{ {NR: 26, Name: "ptrace", CallName: "ptrace", MissingArgs: 2, Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req", FldName: "req", TypeSize: 4}}, Vals: []uint64{8, 16, 17, 16903, 16904}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$PTRACE_SECCOMP_GET_FILTER", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16908}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$PTRACE_SECCOMP_GET_METADATA", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16909}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addr", TypeSize: 4}}, Path: []string{"data"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "seccomp_metadata"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$cont", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 4}}, Vals: []uint64{7, 9, 24, 31, 32}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getenv", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16897}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 4}}, Vals: []uint64{12, 14}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16900}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16898}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{"siginfo", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$peek", CallName: "ptrace", MissingArgs: 1, Args: []Type{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_peek", FldName: "req", TypeSize: 4}}, []uint64{1, 2}, true}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$peeksig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16905}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -60835,43 +60835,43 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 3}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$poke", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_poke", FldName: "req", TypeSize: 4}}, Vals: []uint64{4, 5}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$pokeuser", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 6}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setopts", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setopts", FldName: "req", TypeSize: 4}}, Vals: []uint64{16896, 16902}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_options", FldName: "flags", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64, 1048576}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 4}}, Vals: []uint64{13, 15}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16901}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16899}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "siginfo"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 181, Name: "pwrite64", CallName: "pwrite64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -61297,27 +61297,27 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 354, Name: "seccomp$SECCOMP_GET_NOTIF_SIZES", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 3}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{"seccomp_notif_sizes", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 354, Name: "seccomp$SECCOMP_SET_MODE_FILTER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 354, Name: "seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags_listener", FldName: "flags", TypeSize: 4}}, Vals: []uint64{8, 10, 12}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 354, Name: "seccomp$SECCOMP_SET_MODE_STRICT", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 82, Name: "select", CallName: "select", Args: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "n", TypeSize: 4}}, Path: []string{"inp"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "inp", TypeSize: 4}, &StructType{Key: StructKey{"fd_set", 2}}}, @@ -77684,4 +77684,4 @@ var consts_386 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_386 = "c85ee6fdae76f49ca20b5bd02bf9745728acf4b0" +const revision_386 = "cf4ccfa32fed32a9b47f56c6897f09472e43d899" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 0d8c45b28..14e3b9131 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -51111,11 +51111,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "parentid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "childtid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "tls", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 435, Name: "clone3", CallName: "clone3", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "args", TypeSize: 8}, &StructType{Key: StructKey{Name: "clone_args"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"args"}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 3, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, @@ -56572,17 +56572,17 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148016386}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 16, Name: "ioctl$SECCOMP_IOCTL_NOTIF_RECV", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3226476800}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 16, Name: "ioctl$SECCOMP_IOCTL_NOTIF_SEND", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222806785}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_notif_resp"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 16, Name: "ioctl$SG_EMULATED_HOST", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8707}, @@ -61555,208 +61555,208 @@ var syscalls_amd64 = []*Syscall{ {NR: 157, Name: "prctl$PR_CAPBSET_DROP", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 24}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_CAPBSET_READ", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 23}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_CAP_AMBIENT", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 47}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_cap_ambient", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg3", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_DUMPABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 3}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 19}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 9}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_FP_MODE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 46}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_KEEPCAPS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 7}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 16}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 39}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 2}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_SECCOMP", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 21}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_SECUREBITS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 27}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 52}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pr_spec_mode", FldName: "arg3", TypeSize: 4}}, []uint64{2, 4, 8}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_THP_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 42}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_TID_ADDRESS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 40}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_TIMERSLACK", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 30}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 25}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_GET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 5}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_MCE_KILL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 33}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_mode", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{0, 1}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_submode", FldName: "arg3", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_MCE_KILL_GET", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 34}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_MPX_DISABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 44}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_MPX_ENABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 43}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 36}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_DUMPABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 4}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_dump_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 20}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_endian_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 10}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpemu_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 12}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpexc_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 128, 65536, 131072, 262144, 524288, 1048576}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_FP_MODE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 45}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fp_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_KEEPCAPS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_MM", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mm_option", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "arg", TypeSize: 8}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_MM_AUXV", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 12}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_MM_EXE_FILE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 13}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_MM_MAP", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 14}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "prctl_mm_map"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_MM_MAP_SIZE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 38}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}, Val: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 65}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_PTRACER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1499557217}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_SECCOMP", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 22}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_seccomp_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "prog", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_SECUREBITS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 28}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_securebits", FldName: "arg", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 53}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_THP_DISABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 41}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_TIMERSLACK", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 26}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_tsc_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 6}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_align_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SVE_GET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 131072}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_SVE_SET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 50}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 262144}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_TASK_PERF_EVENTS_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 31}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 157, Name: "prctl$PR_TASK_PERF_EVENTS_ENABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 32}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 17, Name: "pread64", CallName: "pread64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -61802,54 +61802,54 @@ var syscalls_amd64 = []*Syscall{ {NR: 101, Name: "ptrace", CallName: "ptrace", MissingArgs: 2, Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req", FldName: "req", TypeSize: 8}}, Vals: []uint64{8, 16, 17, 16903, 16904}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$PTRACE_SECCOMP_GET_FILTER", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16908}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$PTRACE_SECCOMP_GET_METADATA", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16909}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addr", TypeSize: 8}}, Path: []string{"data"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_metadata"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$cont", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 8}}, Vals: []uint64{7, 9, 24, 31, 32}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$getenv", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16897}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$getregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 8}}, Vals: []uint64{12, 14}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$getregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16900}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$getsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16898}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{"siginfo", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$peek", CallName: "ptrace", MissingArgs: 1, Args: []Type{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_peek", FldName: "req", TypeSize: 8}}, []uint64{1, 2}, true}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$peeksig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16905}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -61860,43 +61860,43 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 3}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$poke", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_poke", FldName: "req", TypeSize: 8}}, Vals: []uint64{4, 5}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$pokeuser", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 6}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$setopts", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setopts", FldName: "req", TypeSize: 8}}, Vals: []uint64{16896, 16902}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_options", FldName: "flags", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32, 64, 1048576}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$setregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 8}}, Vals: []uint64{13, 15}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$setregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16901}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 101, Name: "ptrace$setsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16899}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "siginfo"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 18, Name: "pwrite64", CallName: "pwrite64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -62322,27 +62322,27 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 317, Name: "seccomp$SECCOMP_GET_NOTIF_SIZES", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 3}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif_sizes", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 317, Name: "seccomp$SECCOMP_SET_MODE_FILTER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 317, Name: "seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags_listener", FldName: "flags", TypeSize: 8}}, Vals: []uint64{8, 10, 12}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 317, Name: "seccomp$SECCOMP_SET_MODE_STRICT", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 23, Name: "select", CallName: "select", Args: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "n", TypeSize: 8}}, Path: []string{"inp"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "inp", TypeSize: 8}, &StructType{Key: StructKey{"fd_set", 2}}}, @@ -78724,4 +78724,4 @@ var consts_amd64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_amd64 = "c81b96f2401820555062d06ad90134d1000402f2" +const revision_amd64 = "7c5b12c631adcae15b5e216881c046b8e84dc5b0" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index f841258cd..6eeea53a3 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -50012,11 +50012,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "parentid", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "childtid", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "tls", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 435, Name: "clone3", CallName: "clone3", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "args", TypeSize: 4}, &StructType{Key: StructKey{Name: "clone_args"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Path: []string{"args"}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 6, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, @@ -55350,17 +55350,17 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148016386}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SECCOMP_IOCTL_NOTIF_RECV", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3226476800}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{"seccomp_notif", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SECCOMP_IOCTL_NOTIF_SEND", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222806785}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "seccomp_notif_resp"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SG_EMULATED_HOST", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8707}, @@ -60268,208 +60268,208 @@ var syscalls_arm = []*Syscall{ {NR: 172, Name: "prctl$PR_CAPBSET_DROP", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 24}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_CAPBSET_READ", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 23}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_CAP_AMBIENT", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 47}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_cap_ambient", FldName: "arg2", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg3", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_DUMPABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 3}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 19}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 9}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 11}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_FP_MODE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 46}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_KEEPCAPS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 7}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 16}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 39}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 2}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_SECCOMP", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 21}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_SECUREBITS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 27}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 52}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 4}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pr_spec_mode", FldName: "arg3", TypeSize: 4}}, []uint64{2, 4, 8}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_THP_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 42}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_TID_ADDRESS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 40}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_TIMERSLACK", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 30}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 25}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_GET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 5}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MCE_KILL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 33}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_mode", FldName: "arg2", TypeSize: 4}}, Vals: []uint64{0, 1}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_submode", FldName: "arg3", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MCE_KILL_GET", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 34}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MPX_DISABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 44}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_MPX_ENABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 43}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 36}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_DUMPABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 4}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_dump_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 20}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_endian_mode", FldName: "arg", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 10}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpemu_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 12}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpexc_mode", FldName: "arg", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 128, 65536, 131072, 262144, 524288, 1048576}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_FP_MODE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 45}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fp_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_KEEPCAPS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mm_option", FldName: "opt", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_AUXV", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 12}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_EXE_FILE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 13}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_MAP", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 14}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "prctl_mm_map"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_MM_MAP_SIZE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 4}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 38}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 4}}, Val: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 65}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_PTRACER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 1499557217}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_SECCOMP", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 22}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_seccomp_mode", FldName: "mode", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "prog", TypeSize: 4}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_SECUREBITS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 28}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_securebits", FldName: "arg", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 53}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_THP_DISABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 41}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_TIMERSLACK", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 26}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_tsc_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 6}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_align_mode", FldName: "arg", TypeSize: 4}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SVE_GET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 131072}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_SVE_SET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 50}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 4}}, Kind: 1, RangeEnd: 262144}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_TASK_PERF_EVENTS_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 31}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 172, Name: "prctl$PR_TASK_PERF_EVENTS_ENABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 4}}, Val: 32}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 180, Name: "pread64", CallName: "pread64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -60515,54 +60515,54 @@ var syscalls_arm = []*Syscall{ {NR: 26, Name: "ptrace", CallName: "ptrace", MissingArgs: 2, Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req", FldName: "req", TypeSize: 4}}, Vals: []uint64{8, 16, 17, 16903, 16904}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$PTRACE_SECCOMP_GET_FILTER", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16908}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$PTRACE_SECCOMP_GET_METADATA", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16909}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addr", TypeSize: 4}}, Path: []string{"data"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "seccomp_metadata"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$cont", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 4}}, Vals: []uint64{7, 9, 24}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getenv", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16897}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 4}}, Vals: []uint64{12, 14}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16900}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16898}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{"siginfo", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$peek", CallName: "ptrace", MissingArgs: 1, Args: []Type{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_peek", FldName: "req", TypeSize: 4}}, []uint64{1, 2}, true}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$peeksig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16905}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -60573,43 +60573,43 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 3}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$poke", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_poke", FldName: "req", TypeSize: 4}}, Vals: []uint64{4, 5}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4, ArgDir: 1}}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$pokeuser", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 6}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setopts", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setopts", FldName: "req", TypeSize: 4}}, Vals: []uint64{16896, 16902}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_options", FldName: "flags", TypeSize: 4}}, []uint64{1, 2, 4, 8, 16, 32, 64, 1048576}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 4}}, Vals: []uint64{13, 15}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16901}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 4}}, Val: 16899}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "siginfo"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 181, Name: "pwrite64", CallName: "pwrite64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -61035,27 +61035,27 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 383, Name: "seccomp$SECCOMP_GET_NOTIF_SIZES", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 3}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{"seccomp_notif_sizes", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 383, Name: "seccomp$SECCOMP_SET_MODE_FILTER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 383, Name: "seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags_listener", FldName: "flags", TypeSize: 4}}, Vals: []uint64{8, 10, 12}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 383, Name: "seccomp$SECCOMP_SET_MODE_STRICT", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 4}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 300, Name: "semctl$GETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 4}}}, @@ -77336,4 +77336,4 @@ var consts_arm = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm = "d30bf4313f75140dbd18bece36a70e966f97169b" +const revision_arm = "26699061f5bdf171818061b4b599f7e75419728a" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index ff76a5b51..14fb06c76 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -50852,11 +50852,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "parentid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "childtid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "tls", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 435, Name: "clone3", CallName: "clone3", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "args", TypeSize: 8}, &StructType{Key: StructKey{Name: "clone_args"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"args"}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 57, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, @@ -56161,17 +56161,17 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148016386}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 29, Name: "ioctl$SECCOMP_IOCTL_NOTIF_RECV", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3226476800}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 29, Name: "ioctl$SECCOMP_IOCTL_NOTIF_SEND", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222806785}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_notif_resp"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 29, Name: "ioctl$SG_EMULATED_HOST", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8707}, @@ -61070,208 +61070,208 @@ var syscalls_arm64 = []*Syscall{ {NR: 167, Name: "prctl$PR_CAPBSET_DROP", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 24}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_CAPBSET_READ", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 23}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_CAP_AMBIENT", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 47}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_cap_ambient", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg3", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_DUMPABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 3}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 19}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 9}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_FP_MODE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 46}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_KEEPCAPS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 7}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 16}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 39}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 2}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_SECCOMP", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 21}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_SECUREBITS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 27}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 52}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pr_spec_mode", FldName: "arg3", TypeSize: 4}}, []uint64{2, 4, 8}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_THP_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 42}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_TID_ADDRESS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 40}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_TIMERSLACK", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 30}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 25}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_GET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 5}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_MCE_KILL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 33}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_mode", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{0, 1}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_submode", FldName: "arg3", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_MCE_KILL_GET", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 34}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_MPX_DISABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 44}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_MPX_ENABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 43}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 36}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_DUMPABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 4}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_dump_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 20}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_endian_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 10}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpemu_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 12}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpexc_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 128, 65536, 131072, 262144, 524288, 1048576}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_FP_MODE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 45}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fp_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_KEEPCAPS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_MM", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mm_option", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "arg", TypeSize: 8}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_MM_AUXV", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 12}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_MM_EXE_FILE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 13}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_MM_MAP", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 14}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "prctl_mm_map"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_MM_MAP_SIZE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 38}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}, Val: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 65}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_PTRACER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1499557217}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_SECCOMP", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 22}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_seccomp_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "prog", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_SECUREBITS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 28}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_securebits", FldName: "arg", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 53}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_THP_DISABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 41}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_TIMERSLACK", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 26}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_tsc_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 6}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_align_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SVE_GET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 131072}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_SVE_SET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 50}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 262144}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_TASK_PERF_EVENTS_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 31}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 167, Name: "prctl$PR_TASK_PERF_EVENTS_ENABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 32}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 67, Name: "pread64", CallName: "pread64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -61317,54 +61317,54 @@ var syscalls_arm64 = []*Syscall{ {NR: 117, Name: "ptrace", CallName: "ptrace", MissingArgs: 2, Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req", FldName: "req", TypeSize: 8}}, Vals: []uint64{8, 16, 17, 16903, 16904}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$PTRACE_SECCOMP_GET_FILTER", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16908}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$PTRACE_SECCOMP_GET_METADATA", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16909}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addr", TypeSize: 8}}, Path: []string{"data"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_metadata"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$cont", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 8}}, Vals: []uint64{7, 9, 24, 31, 32}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$getenv", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16897}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$getregs", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 8}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$getregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16900}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$getsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16898}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{"siginfo", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$peek", CallName: "ptrace", MissingArgs: 1, Args: []Type{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_peek", FldName: "req", TypeSize: 8}}, []uint64{1, 2}, true}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$peeksig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16905}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -61375,43 +61375,43 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 3}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$poke", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_poke", FldName: "req", TypeSize: 8}}, Vals: []uint64{4, 5}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$pokeuser", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 6}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$setopts", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setopts", FldName: "req", TypeSize: 8}}, Vals: []uint64{16896, 16902}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_options", FldName: "flags", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32, 64, 1048576}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$setregs", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 8}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$setregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16901}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 117, Name: "ptrace$setsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16899}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "siginfo"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 68, Name: "pwrite64", CallName: "pwrite64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -61825,27 +61825,27 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 277, Name: "seccomp$SECCOMP_GET_NOTIF_SIZES", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 3}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif_sizes", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 277, Name: "seccomp$SECCOMP_SET_MODE_FILTER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 277, Name: "seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags_listener", FldName: "flags", TypeSize: 8}}, Vals: []uint64{8, 10, 12}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 277, Name: "seccomp$SECCOMP_SET_MODE_STRICT", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 191, Name: "semctl$GETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, @@ -78069,4 +78069,4 @@ var consts_arm64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm64 = "754f18ad30ad9e5227a0ce8ce292b3276378042a" +const revision_arm64 = "3fd1d4e2612c30e0230b0c12475a8acc39904911" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index a6da89ac9..09d5939d5 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -49954,11 +49954,11 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "parentid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "childtid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "tls", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5435, Name: "clone3", CallName: "clone3", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "args", TypeSize: 8}, &StructType{Key: StructKey{Name: "clone_args"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"args"}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5003, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, @@ -55277,17 +55277,17 @@ var syscalls_mips64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074274562}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5015, Name: "ioctl$SECCOMP_IOCTL_NOTIF_RECV", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3226476800}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5015, Name: "ioctl$SECCOMP_IOCTL_NOTIF_SEND", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222806785}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_notif_resp"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5015, Name: "ioctl$SG_EMULATED_HOST", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8707}, @@ -59707,208 +59707,208 @@ var syscalls_mips64le = []*Syscall{ {NR: 5153, Name: "prctl$PR_CAPBSET_DROP", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 24}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_CAPBSET_READ", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 23}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_CAP_AMBIENT", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 47}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_cap_ambient", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg3", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_DUMPABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 3}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 19}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 9}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_FP_MODE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 46}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_KEEPCAPS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 7}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 16}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 39}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 2}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_SECCOMP", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 21}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_SECUREBITS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 27}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 52}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pr_spec_mode", FldName: "arg3", TypeSize: 4}}, []uint64{2, 4, 8}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_THP_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 42}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_TID_ADDRESS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 40}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_TIMERSLACK", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 30}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 25}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_GET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 5}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_MCE_KILL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 33}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_mode", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{0, 1}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_submode", FldName: "arg3", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_MCE_KILL_GET", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 34}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_MPX_DISABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 44}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_MPX_ENABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 43}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 36}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_DUMPABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 4}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_dump_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 20}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_endian_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 10}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpemu_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 12}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpexc_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 128, 65536, 131072, 262144, 524288, 1048576}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_FP_MODE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 45}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fp_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_KEEPCAPS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_MM", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mm_option", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "arg", TypeSize: 8}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_MM_AUXV", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 12}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_MM_EXE_FILE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 13}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_MM_MAP", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 14}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "prctl_mm_map"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_MM_MAP_SIZE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 38}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}, Val: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 65}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_PTRACER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1499557217}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_SECCOMP", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 22}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_seccomp_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "prog", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_SECUREBITS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 28}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_securebits", FldName: "arg", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 53}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_THP_DISABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 41}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_TIMERSLACK", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 26}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_tsc_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 6}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_align_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SVE_GET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 131072}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_SVE_SET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 50}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 262144}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_TASK_PERF_EVENTS_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 31}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5153, Name: "prctl$PR_TASK_PERF_EVENTS_ENABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 32}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5016, Name: "pread64", CallName: "pread64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -59954,54 +59954,54 @@ var syscalls_mips64le = []*Syscall{ {NR: 5099, Name: "ptrace", CallName: "ptrace", MissingArgs: 2, Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req", FldName: "req", TypeSize: 8}}, Vals: []uint64{8, 16, 17, 16903, 16904}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$PTRACE_SECCOMP_GET_FILTER", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16908}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$PTRACE_SECCOMP_GET_METADATA", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16909}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addr", TypeSize: 8}}, Path: []string{"data"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_metadata"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$cont", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 8}}, Vals: []uint64{7, 9, 24}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$getenv", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16897}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$getregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 8}}, Vals: []uint64{12, 14}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$getregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16900}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$getsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16898}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{"siginfo", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$peek", CallName: "ptrace", MissingArgs: 1, Args: []Type{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_peek", FldName: "req", TypeSize: 8}}, []uint64{1, 2}, true}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$peeksig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16905}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -60012,43 +60012,43 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 3}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$poke", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_poke", FldName: "req", TypeSize: 8}}, Vals: []uint64{4, 5}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$pokeuser", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 6}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$setopts", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setopts", FldName: "req", TypeSize: 8}}, Vals: []uint64{16896, 16902}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_options", FldName: "flags", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32, 64, 1048576}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$setregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 8}}, Vals: []uint64{13, 15}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$setregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16901}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5099, Name: "ptrace$setsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16899}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "siginfo"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5017, Name: "pwrite64", CallName: "pwrite64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -60474,27 +60474,27 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5312, Name: "seccomp$SECCOMP_GET_NOTIF_SIZES", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 3}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif_sizes", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5312, Name: "seccomp$SECCOMP_SET_MODE_FILTER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5312, Name: "seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags_listener", FldName: "flags", TypeSize: 8}}, Vals: []uint64{8, 10, 12}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5312, Name: "seccomp$SECCOMP_SET_MODE_STRICT", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 5064, Name: "semctl$GETALL", CallName: "semctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "ipc_sem", FldName: "semid", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "semnum", TypeSize: 8}}}, @@ -75730,4 +75730,4 @@ var consts_mips64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_mips64le = "58f498d275b69ced55f63aac5e932a8700ba24de" +const revision_mips64le = "0fe40bd893f97bb91327c5a5cfdde53805983bff" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index fd63188c0..746590be5 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -50767,11 +50767,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "parentid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "childtid", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "tls", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 435, Name: "clone3", CallName: "clone3", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "args", TypeSize: 8}, &StructType{Key: StructKey{Name: "clone_args"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Path: []string{"args"}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 6, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, @@ -56090,17 +56090,17 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074274562}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &ResourceType{TypeCommon: TypeCommon{TypeName: "seccomp_id", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SECCOMP_IOCTL_NOTIF_RECV", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3226476800}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SECCOMP_IOCTL_NOTIF_SEND", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222806785}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_notif_resp"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 54, Name: "ioctl$SG_EMULATED_HOST", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_sg", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8707}, @@ -61038,208 +61038,208 @@ var syscalls_ppc64le = []*Syscall{ {NR: 171, Name: "prctl$PR_CAPBSET_DROP", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 24}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_CAPBSET_READ", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 23}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_CAP_AMBIENT", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 47}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_cap_ambient", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "arg3", TypeSize: 4}}, Kind: 1, RangeEnd: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 37}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_DUMPABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 3}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 19}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 9}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 11}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_FP_MODE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 46}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_KEEPCAPS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 7}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 16}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 39}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 2}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_SECCOMP", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 21}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_SECUREBITS", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 27}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 52}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pr_spec_mode", FldName: "arg3", TypeSize: 4}}, []uint64{2, 4, 8}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_THP_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 42}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_TID_ADDRESS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 40}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_TIMERSLACK", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 30}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 25}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_GET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 5}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_MCE_KILL", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 33}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_mode", FldName: "arg2", TypeSize: 8}}, Vals: []uint64{0, 1}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mce_kill_submode", FldName: "arg3", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_MCE_KILL_GET", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 34}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_MPX_DISABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 44}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_MPX_ENABLE_MANAGEMENT", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 43}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_CHILD_SUBREAPER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 36}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_DUMPABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 4}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_dump_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_ENDIAN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 20}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_endian_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_FPEMU", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 10}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpemu_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_FPEXC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 12}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fpexc_mode", FldName: "arg", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 3, 128, 65536, 131072, 262144, 524288, 1048576}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_FP_MODE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 45}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_fp_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_KEEPCAPS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_MM", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_mm_option", FldName: "opt", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}}, &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "arg", TypeSize: 8}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_MM_AUXV", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 12}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_MM_EXE_FILE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 13}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "arg", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_MM_MAP", CallName: "prctl", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 14}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "prctl_mm_map"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"arg"}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_MM_MAP_SIZE", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 35}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_NAME", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 15}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", IsVarlen: true}, Kind: 2}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_NO_NEW_PRIVS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 38}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}, Val: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_PDEATHSIG", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 65}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_PTRACER", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 1499557217}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_SECCOMP", CallName: "prctl", MissingArgs: 1, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 22}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_seccomp_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{0, 1, 2}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "prog", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_SECUREBITS", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 28}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_securebits", FldName: "arg", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_SPECULATION_CTRL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 53}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg2", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_THP_DISABLE", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 41}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 1}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_TIMERSLACK", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 29}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_TSC", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 26}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_tsc_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SET_UNALIGN", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 6}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "prctl_align_mode", FldName: "arg", TypeSize: 8}}, []uint64{1, 2}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SVE_GET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 51}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 131072}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_SVE_SET_VL", CallName: "prctl", MissingArgs: 2, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 50}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "arg", TypeSize: 8}}, Kind: 1, RangeEnd: 262144}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_TASK_PERF_EVENTS_DISABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 31}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 171, Name: "prctl$PR_TASK_PERF_EVENTS_ENABLE", CallName: "prctl", MissingArgs: 3, Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "option", TypeSize: 8}}, Val: 32}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 179, Name: "pread64", CallName: "pread64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -61285,54 +61285,54 @@ var syscalls_ppc64le = []*Syscall{ {NR: 26, Name: "ptrace", CallName: "ptrace", MissingArgs: 2, Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req", FldName: "req", TypeSize: 8}}, Vals: []uint64{8, 16, 17, 16903, 16904}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$PTRACE_SECCOMP_GET_FILTER", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16908}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$PTRACE_SECCOMP_GET_METADATA", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16909}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addr", TypeSize: 8}}, Path: []string{"data"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "seccomp_metadata"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$cont", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_cont", FldName: "req", TypeSize: 8}}, Vals: []uint64{7, 9, 24, 29, 30}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getenv", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16897}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_getregs", FldName: "req", TypeSize: 8}}, Vals: []uint64{12, 14}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16900}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[out, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$getsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16898}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{"siginfo", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$peek", CallName: "ptrace", MissingArgs: 1, Args: []Type{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_peek", FldName: "req", TypeSize: 8}}, []uint64{1, 2}, true}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$peeksig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16905}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, @@ -61343,43 +61343,43 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 3}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$poke", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_poke", FldName: "req", TypeSize: 8}}, Vals: []uint64{4, 5}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8, ArgDir: 1}}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$pokeuser", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 6}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "addr", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "data", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setopts", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setopts", FldName: "req", TypeSize: 8}}, Vals: []uint64{16896, 16902}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_options", FldName: "flags", TypeSize: 8}}, []uint64{1, 2, 4, 8, 16, 32, 64, 1048576}, true}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setregs", CallName: "ptrace", Args: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ptrace_req_setregs", FldName: "req", TypeSize: 8}}, Vals: []uint64{13, 15}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setregset", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16901}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pthread_regset", FldName: "what", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 6, 512, 513, 514}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "iovec[in, array[int8]]"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 26, Name: "ptrace$setsig", CallName: "ptrace", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 8}}, Val: 16899}, &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "ignored", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "siginfo"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 180, Name: "pwrite64", CallName: "pwrite64", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -61805,27 +61805,27 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 358, Name: "seccomp$SECCOMP_GET_NOTIF_SIZES", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 3}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{"seccomp_notif_sizes", 1}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 358, Name: "seccomp$SECCOMP_SET_MODE_FILTER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 358, Name: "seccomp$SECCOMP_SET_MODE_FILTER_LISTENER", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "seccomp_flags_listener", FldName: "flags", TypeSize: 8}}, Vals: []uint64{8, 10, 12}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, &StructType{Key: StructKey{Name: "sock_fprog"}}}, - }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_seccomp", FldName: "ret", TypeSize: 4, ArgDir: 1}}, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 358, Name: "seccomp$SECCOMP_SET_MODE_STRICT", CallName: "seccomp", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "op", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "arg", TypeSize: 8}}}, - }}, + }, Attrs: SyscallAttrs{BreaksReturns: true}}, {NR: 82, Name: "select", CallName: "select", Args: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "n", TypeSize: 8}}, Path: []string{"inp"}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "inp", TypeSize: 8}, &StructType{Key: StructKey{"fd_set", 2}}}, @@ -78066,4 +78066,4 @@ var consts_ppc64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_ppc64le = "0c998ac9a6c1ec29e54865894e5b07c2617765cc" +const revision_ppc64le = "921f696e9e82e385dde908b067cf26bd7fcbadf2" diff --git a/sys/linux/prctl.txt b/sys/linux/prctl.txt index 0b7440d27..acc63ccf6 100644 --- a/sys/linux/prctl.txt +++ b/sys/linux/prctl.txt @@ -9,78 +9,80 @@ include <uapi/linux/capability.h> include <uapi/linux/securebits.h> include <asm/prctl.h> -prctl$PR_SET_PDEATHSIG(option const[PR_SET_PDEATHSIG], arg signalnoptr) -prctl$PR_GET_PDEATHSIG(option const[PR_GET_PDEATHSIG], arg ptr[out, int32]) +# Only some commands break return values. +# When/if we have stricter enforcement of arguments, we may remove some of breaks_returns attributes. +prctl$PR_SET_PDEATHSIG(option const[PR_SET_PDEATHSIG], arg signalnoptr) (breaks_returns) +prctl$PR_GET_PDEATHSIG(option const[PR_GET_PDEATHSIG], arg ptr[out, int32]) (breaks_returns) -prctl$PR_GET_DUMPABLE(option const[PR_GET_DUMPABLE]) -prctl$PR_SET_DUMPABLE(option const[PR_SET_DUMPABLE], arg flags[prctl_dump_mode]) +prctl$PR_GET_DUMPABLE(option const[PR_GET_DUMPABLE]) (breaks_returns) +prctl$PR_SET_DUMPABLE(option const[PR_SET_DUMPABLE], arg flags[prctl_dump_mode]) (breaks_returns) prctl_dump_mode = SUID_DUMP_USER, SUID_DUMP_ROOT -prctl$PR_GET_UNALIGN(option const[PR_GET_UNALIGN], arg ptr[out, int32]) -prctl$PR_SET_UNALIGN(option const[PR_SET_UNALIGN], arg flags[prctl_align_mode]) +prctl$PR_GET_UNALIGN(option const[PR_GET_UNALIGN], arg ptr[out, int32]) (breaks_returns) +prctl$PR_SET_UNALIGN(option const[PR_SET_UNALIGN], arg flags[prctl_align_mode]) (breaks_returns) prctl_align_mode = PR_UNALIGN_NOPRINT, PR_UNALIGN_SIGBUS -prctl$PR_GET_KEEPCAPS(option const[PR_GET_KEEPCAPS]) -prctl$PR_SET_KEEPCAPS(option const[PR_SET_KEEPCAPS], arg boolptr) +prctl$PR_GET_KEEPCAPS(option const[PR_GET_KEEPCAPS]) (breaks_returns) +prctl$PR_SET_KEEPCAPS(option const[PR_SET_KEEPCAPS], arg boolptr) (breaks_returns) -prctl$PR_GET_FPEMU(option const[PR_GET_FPEMU], arg ptr[out, int32]) -prctl$PR_SET_FPEMU(option const[PR_SET_FPEMU], arg flags[prctl_fpemu_mode]) +prctl$PR_GET_FPEMU(option const[PR_GET_FPEMU], arg ptr[out, int32]) (breaks_returns) +prctl$PR_SET_FPEMU(option const[PR_SET_FPEMU], arg flags[prctl_fpemu_mode]) (breaks_returns) prctl_fpemu_mode = PR_FPEMU_NOPRINT, PR_FPEMU_SIGFPE -prctl$PR_GET_FPEXC(option const[PR_GET_FPEXC], arg ptr[out, int32]) -prctl$PR_SET_FPEXC(option const[PR_SET_FPEXC], arg flags[prctl_fpexc_mode]) +prctl$PR_GET_FPEXC(option const[PR_GET_FPEXC], arg ptr[out, int32]) (breaks_returns) +prctl$PR_SET_FPEXC(option const[PR_SET_FPEXC], arg flags[prctl_fpexc_mode]) (breaks_returns) prctl_fpexc_mode = PR_FP_EXC_SW_ENABLE, PR_FP_EXC_DIV, PR_FP_EXC_OVF, PR_FP_EXC_UND, PR_FP_EXC_RES, PR_FP_EXC_INV, PR_FP_EXC_DISABLED, PR_FP_EXC_NONRECOV, PR_FP_EXC_ASYNC, PR_FP_EXC_PRECISE # These are not implemented. _ = PR_GET_TIMING, PR_SET_TIMING -prctl$PR_SET_NAME(option const[PR_SET_NAME], name ptr[in, string]) -prctl$PR_GET_NAME(option const[PR_GET_NAME], name ptr[out, array[int8]]) +prctl$PR_SET_NAME(option const[PR_SET_NAME], name ptr[in, string]) (breaks_returns) +prctl$PR_GET_NAME(option const[PR_GET_NAME], name ptr[out, array[int8]]) (breaks_returns) -prctl$PR_GET_ENDIAN(option const[PR_GET_ENDIAN], arg ptr[out, int32]) -prctl$PR_SET_ENDIAN(option const[PR_SET_ENDIAN], arg flags[prctl_endian_mode]) +prctl$PR_GET_ENDIAN(option const[PR_GET_ENDIAN], arg ptr[out, int32]) (breaks_returns) +prctl$PR_SET_ENDIAN(option const[PR_SET_ENDIAN], arg flags[prctl_endian_mode]) (breaks_returns) prctl_endian_mode = PR_ENDIAN_BIG, PR_ENDIAN_LITTLE, PR_ENDIAN_PPC_LITTLE -prctl$PR_GET_SECCOMP(option const[PR_GET_SECCOMP]) -prctl$PR_SET_SECCOMP(option const[PR_SET_SECCOMP], mode flags[prctl_seccomp_mode], prog ptr[in, sock_fprog]) +prctl$PR_GET_SECCOMP(option const[PR_GET_SECCOMP]) (breaks_returns) +prctl$PR_SET_SECCOMP(option const[PR_SET_SECCOMP], mode flags[prctl_seccomp_mode], prog ptr[in, sock_fprog]) (breaks_returns) prctl_seccomp_mode = SECCOMP_MODE_DISABLED, SECCOMP_MODE_STRICT, SECCOMP_MODE_FILTER -prctl$PR_CAPBSET_READ(option const[PR_CAPBSET_READ], arg intptr[0:CAP_LAST_CAP]) -prctl$PR_CAPBSET_DROP(option const[PR_CAPBSET_DROP], arg intptr[0:CAP_LAST_CAP]) +prctl$PR_CAPBSET_READ(option const[PR_CAPBSET_READ], arg intptr[0:CAP_LAST_CAP]) (breaks_returns) +prctl$PR_CAPBSET_DROP(option const[PR_CAPBSET_DROP], arg intptr[0:CAP_LAST_CAP]) (breaks_returns) -prctl$PR_GET_TSC(option const[PR_GET_TSC], arg ptr[out, int32]) -prctl$PR_SET_TSC(option const[PR_SET_TSC], arg flags[prctl_tsc_mode]) +prctl$PR_GET_TSC(option const[PR_GET_TSC], arg ptr[out, int32]) (breaks_returns) +prctl$PR_SET_TSC(option const[PR_SET_TSC], arg flags[prctl_tsc_mode]) (breaks_returns) prctl_tsc_mode = PR_TSC_ENABLE, PR_TSC_SIGSEGV -prctl$PR_GET_SECUREBITS(option const[PR_GET_SECUREBITS]) -prctl$PR_SET_SECUREBITS(option const[PR_SET_SECUREBITS], arg flags[prctl_securebits]) +prctl$PR_GET_SECUREBITS(option const[PR_GET_SECUREBITS]) (breaks_returns) +prctl$PR_SET_SECUREBITS(option const[PR_SET_SECUREBITS], arg flags[prctl_securebits]) (breaks_returns) prctl_securebits = SECBIT_NOROOT, SECBIT_NOROOT_LOCKED, SECBIT_NO_SETUID_FIXUP, SECBIT_NO_SETUID_FIXUP_LOCKED, SECBIT_KEEP_CAPS, SECBIT_KEEP_CAPS_LOCKED -prctl$PR_SET_TIMERSLACK(option const[PR_SET_TIMERSLACK], arg intptr) -prctl$PR_GET_TIMERSLACK(option const[PR_GET_TIMERSLACK]) +prctl$PR_SET_TIMERSLACK(option const[PR_SET_TIMERSLACK], arg intptr) (breaks_returns) +prctl$PR_GET_TIMERSLACK(option const[PR_GET_TIMERSLACK]) (breaks_returns) -prctl$PR_TASK_PERF_EVENTS_DISABLE(option const[PR_TASK_PERF_EVENTS_DISABLE]) -prctl$PR_TASK_PERF_EVENTS_ENABLE(option const[PR_TASK_PERF_EVENTS_ENABLE]) +prctl$PR_TASK_PERF_EVENTS_DISABLE(option const[PR_TASK_PERF_EVENTS_DISABLE]) (breaks_returns) +prctl$PR_TASK_PERF_EVENTS_ENABLE(option const[PR_TASK_PERF_EVENTS_ENABLE]) (breaks_returns) -prctl$PR_MCE_KILL(option const[PR_MCE_KILL], arg2 flags[prctl_mce_kill_mode], arg3 flags[prctl_mce_kill_submode]) -prctl$PR_MCE_KILL_GET(option const[PR_MCE_KILL_GET]) +prctl$PR_MCE_KILL(option const[PR_MCE_KILL], arg2 flags[prctl_mce_kill_mode], arg3 flags[prctl_mce_kill_submode]) (breaks_returns) +prctl$PR_MCE_KILL_GET(option const[PR_MCE_KILL_GET]) (breaks_returns) prctl_mce_kill_mode = PR_MCE_KILL_CLEAR, PR_MCE_KILL_SET prctl_mce_kill_submode = PR_MCE_KILL_LATE, PR_MCE_KILL_EARLY, PR_MCE_KILL_DEFAULT -prctl$PR_SET_MM(option const[PR_SET_MM], opt flags[prctl_mm_option], arg vma) -prctl$PR_SET_MM_EXE_FILE(option const[PR_SET_MM], opt const[PR_SET_MM_EXE_FILE], arg fd) -prctl$PR_SET_MM_AUXV(option const[PR_SET_MM], opt const[PR_SET_MM_AUXV], arg ptr[in, array[int8]], len bytesize[arg]) -prctl$PR_SET_MM_MAP(option const[PR_SET_MM], opt const[PR_SET_MM_MAP], arg ptr[in, prctl_mm_map], len bytesize[arg]) -prctl$PR_SET_MM_MAP_SIZE(option const[PR_SET_MM], opt const[PR_SET_MM_MAP_SIZE], arg ptr[out, int32]) +prctl$PR_SET_MM(option const[PR_SET_MM], opt flags[prctl_mm_option], arg vma) (breaks_returns) +prctl$PR_SET_MM_EXE_FILE(option const[PR_SET_MM], opt const[PR_SET_MM_EXE_FILE], arg fd) (breaks_returns) +prctl$PR_SET_MM_AUXV(option const[PR_SET_MM], opt const[PR_SET_MM_AUXV], arg ptr[in, array[int8]], len bytesize[arg]) (breaks_returns) +prctl$PR_SET_MM_MAP(option const[PR_SET_MM], opt const[PR_SET_MM_MAP], arg ptr[in, prctl_mm_map], len bytesize[arg]) (breaks_returns) +prctl$PR_SET_MM_MAP_SIZE(option const[PR_SET_MM], opt const[PR_SET_MM_MAP_SIZE], arg ptr[out, int32]) (breaks_returns) prctl_mm_option = PR_SET_MM_START_CODE, PR_SET_MM_END_CODE, PR_SET_MM_START_DATA, PR_SET_MM_END_DATA, PR_SET_MM_START_STACK, PR_SET_MM_START_BRK, PR_SET_MM_BRK, PR_SET_MM_ARG_START, PR_SET_MM_ARG_END, PR_SET_MM_ENV_START, PR_SET_MM_ENV_END @@ -101,36 +103,36 @@ prctl_mm_map { exe_fd fd } -prctl$PR_SET_PTRACER(option const[PR_SET_PTRACER], pid pid) +prctl$PR_SET_PTRACER(option const[PR_SET_PTRACER], pid pid) (breaks_returns) -prctl$PR_SET_CHILD_SUBREAPER(option const[PR_SET_CHILD_SUBREAPER], arg boolptr) -prctl$PR_GET_CHILD_SUBREAPER(option const[PR_GET_CHILD_SUBREAPER]) +prctl$PR_SET_CHILD_SUBREAPER(option const[PR_SET_CHILD_SUBREAPER], arg boolptr) (breaks_returns) +prctl$PR_GET_CHILD_SUBREAPER(option const[PR_GET_CHILD_SUBREAPER]) (breaks_returns) -prctl$PR_SET_NO_NEW_PRIVS(option const[PR_SET_NO_NEW_PRIVS], arg const[1]) -prctl$PR_GET_NO_NEW_PRIVS(option const[PR_GET_NO_NEW_PRIVS]) +prctl$PR_SET_NO_NEW_PRIVS(option const[PR_SET_NO_NEW_PRIVS], arg const[1]) (breaks_returns) +prctl$PR_GET_NO_NEW_PRIVS(option const[PR_GET_NO_NEW_PRIVS]) (breaks_returns) -prctl$PR_GET_TID_ADDRESS(option const[PR_GET_TID_ADDRESS], arg ptr[out, intptr]) +prctl$PR_GET_TID_ADDRESS(option const[PR_GET_TID_ADDRESS], arg ptr[out, intptr]) (breaks_returns) -prctl$PR_SET_THP_DISABLE(option const[PR_SET_THP_DISABLE], arg boolptr) -prctl$PR_GET_THP_DISABLE(option const[PR_GET_THP_DISABLE]) +prctl$PR_SET_THP_DISABLE(option const[PR_SET_THP_DISABLE], arg boolptr) (breaks_returns) +prctl$PR_GET_THP_DISABLE(option const[PR_GET_THP_DISABLE]) (breaks_returns) -prctl$PR_MPX_ENABLE_MANAGEMENT(option const[PR_MPX_ENABLE_MANAGEMENT]) -prctl$PR_MPX_DISABLE_MANAGEMENT(option const[PR_MPX_DISABLE_MANAGEMENT]) +prctl$PR_MPX_ENABLE_MANAGEMENT(option const[PR_MPX_ENABLE_MANAGEMENT]) (breaks_returns) +prctl$PR_MPX_DISABLE_MANAGEMENT(option const[PR_MPX_DISABLE_MANAGEMENT]) (breaks_returns) -prctl$PR_SET_FP_MODE(option const[PR_SET_FP_MODE], arg flags[prctl_fp_mode]) -prctl$PR_GET_FP_MODE(option const[PR_GET_FP_MODE]) +prctl$PR_SET_FP_MODE(option const[PR_SET_FP_MODE], arg flags[prctl_fp_mode]) (breaks_returns) +prctl$PR_GET_FP_MODE(option const[PR_GET_FP_MODE]) (breaks_returns) prctl_fp_mode = PR_FP_MODE_FR, PR_FP_MODE_FRE -prctl$PR_CAP_AMBIENT(option const[PR_CAP_AMBIENT], arg2 flags[prctl_cap_ambient], arg3 int32[0:CAP_LAST_CAP]) +prctl$PR_CAP_AMBIENT(option const[PR_CAP_AMBIENT], arg2 flags[prctl_cap_ambient], arg3 int32[0:CAP_LAST_CAP]) (breaks_returns) prctl_cap_ambient = PR_CAP_AMBIENT_IS_SET, PR_CAP_AMBIENT_RAISE, PR_CAP_AMBIENT_LOWER, PR_CAP_AMBIENT_CLEAR_ALL -prctl$PR_SVE_SET_VL(option const[PR_SVE_SET_VL], arg intptr[0:PR_SVE_SET_VL_ONEXEC]) -prctl$PR_SVE_GET_VL(option const[PR_SVE_GET_VL], arg intptr[0:PR_SVE_VL_INHERIT]) +prctl$PR_SVE_SET_VL(option const[PR_SVE_SET_VL], arg intptr[0:PR_SVE_SET_VL_ONEXEC]) (breaks_returns) +prctl$PR_SVE_GET_VL(option const[PR_SVE_GET_VL], arg intptr[0:PR_SVE_VL_INHERIT]) (breaks_returns) -prctl$PR_GET_SPECULATION_CTRL(option const[PR_GET_SPECULATION_CTRL], arg2 const[PR_SPEC_STORE_BYPASS], arg3 flags[pr_spec_mode]) -prctl$PR_SET_SPECULATION_CTRL(option const[PR_SET_SPECULATION_CTRL], arg2 const[PR_SPEC_STORE_BYPASS]) +prctl$PR_GET_SPECULATION_CTRL(option const[PR_GET_SPECULATION_CTRL], arg2 const[PR_SPEC_STORE_BYPASS], arg3 flags[pr_spec_mode]) (breaks_returns) +prctl$PR_SET_SPECULATION_CTRL(option const[PR_SET_SPECULATION_CTRL], arg2 const[PR_SPEC_STORE_BYPASS]) (breaks_returns) pr_spec_mode = PR_SPEC_ENABLE, PR_SPEC_DISABLE, PR_SPEC_FORCE_DISABLE diff --git a/sys/linux/seccomp.txt b/sys/linux/seccomp.txt index e56332dab..3d071eb46 100644 --- a/sys/linux/seccomp.txt +++ b/sys/linux/seccomp.txt @@ -7,15 +7,17 @@ include <asm/ioctls.h> resource fd_seccomp[fd] resource seccomp_id[int64] -seccomp$SECCOMP_SET_MODE_STRICT(op const[SECCOMP_SET_MODE_STRICT], flags const[0], arg const[0]) -seccomp$SECCOMP_SET_MODE_FILTER(op const[SECCOMP_SET_MODE_FILTER], flags flags[seccomp_flags], arg ptr[in, sock_fprog]) -seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(op const[SECCOMP_SET_MODE_FILTER], flags flags[seccomp_flags_listener], arg ptr[in, sock_fprog]) fd_seccomp -seccomp$SECCOMP_GET_ACTION_AVAIL(op const[SECCOMP_GET_ACTION_AVAIL], flags const[0], arg ptr[in, int32]) -seccomp$SECCOMP_GET_NOTIF_SIZES(op const[SECCOMP_GET_NOTIF_SIZES], flags const[0], arg ptr[out, seccomp_notif_sizes]) - -ioctl$SECCOMP_IOCTL_NOTIF_RECV(fd fd_seccomp, cmd const[SECCOMP_IOCTL_NOTIF_RECV], arg ptr[out, seccomp_notif]) -ioctl$SECCOMP_IOCTL_NOTIF_SEND(fd fd_seccomp, cmd const[SECCOMP_IOCTL_NOTIF_SEND], arg ptr[in, seccomp_notif_resp]) -ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID(fd fd_seccomp, cmd const[SECCOMP_IOCTL_NOTIF_ID_VALID], arg ptr[in, seccomp_id]) +# Only some commands break return values. +# When/if we have stricter enforcement of arguments, we may remove some of breaks_returns attributes. +seccomp$SECCOMP_SET_MODE_STRICT(op const[SECCOMP_SET_MODE_STRICT], flags const[0], arg const[0]) (breaks_returns) +seccomp$SECCOMP_SET_MODE_FILTER(op const[SECCOMP_SET_MODE_FILTER], flags flags[seccomp_flags], arg ptr[in, sock_fprog]) (breaks_returns) +seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(op const[SECCOMP_SET_MODE_FILTER], flags flags[seccomp_flags_listener], arg ptr[in, sock_fprog]) fd_seccomp (breaks_returns) +seccomp$SECCOMP_GET_ACTION_AVAIL(op const[SECCOMP_GET_ACTION_AVAIL], flags const[0], arg ptr[in, int32]) (breaks_returns) +seccomp$SECCOMP_GET_NOTIF_SIZES(op const[SECCOMP_GET_NOTIF_SIZES], flags const[0], arg ptr[out, seccomp_notif_sizes]) (breaks_returns) + +ioctl$SECCOMP_IOCTL_NOTIF_RECV(fd fd_seccomp, cmd const[SECCOMP_IOCTL_NOTIF_RECV], arg ptr[out, seccomp_notif]) (breaks_returns) +ioctl$SECCOMP_IOCTL_NOTIF_SEND(fd fd_seccomp, cmd const[SECCOMP_IOCTL_NOTIF_SEND], arg ptr[in, seccomp_notif_resp]) (breaks_returns) +ioctl$SECCOMP_IOCTL_NOTIF_ID_VALID(fd fd_seccomp, cmd const[SECCOMP_IOCTL_NOTIF_ID_VALID], arg ptr[in, seccomp_id]) (breaks_returns) seccomp_notif_sizes { seccomp_notif int16 diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index e6d7f5621..b4e470608 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -205,22 +205,24 @@ fcntl$F_GET_FILE_RW_HINT(fd fd, cmd const[F_GET_FILE_RW_HINT], hint ptr[out, int fcntl$F_SET_RW_HINT(fd fd, cmd const[F_SET_RW_HINT], hint ptr[in, flags[fcntl_rw_hint, int64]]) fcntl$F_SET_FILE_RW_HINT(fd fd, cmd const[F_SET_FILE_RW_HINT], hint ptr[in, flags[fcntl_rw_hint, int64]]) -ptrace(req flags[ptrace_req], pid pid) -ptrace$peek(req flags[ptrace_req_peek], pid pid, addr ptr[out, intptr]) -ptrace$poke(req flags[ptrace_req_poke], pid pid, addr ptr[out, intptr], data intptr) -ptrace$peekuser(req const[PTRACE_PEEKUSR], pid pid, addr intptr) -ptrace$pokeuser(req const[PTRACE_POKEUSR], pid pid, addr intptr, data intptr) -ptrace$getregs(req flags[ptrace_req_getregs], pid pid, ignored intptr, data buffer[out]) -ptrace$getregset(req const[PTRACE_GETREGSET], pid pid, what flags[pthread_regset], data ptr[in, iovec_out]) -ptrace$setregs(req flags[ptrace_req_setregs], pid pid, ignored intptr, data buffer[in]) -ptrace$setregset(req const[PTRACE_SETREGSET], pid pid, what flags[pthread_regset], data ptr[in, iovec_in]) -ptrace$getsig(req const[PTRACE_GETSIGINFO], pid pid, ignored intptr, data ptr[out, siginfo]) -ptrace$setsig(req const[PTRACE_SETSIGINFO], pid pid, ignored intptr, data ptr[in, siginfo]) -ptrace$setopts(req flags[ptrace_req_setopts], pid pid, ignored intptr, flags flags[ptrace_options]) -ptrace$getenv(req const[PTRACE_GETEVENTMSG], pid pid, ignored intptr, data ptr[out, intptr]) -ptrace$cont(req flags[ptrace_req_cont], pid pid, ignored intptr, data intptr) -ptrace$PTRACE_SECCOMP_GET_FILTER(req const[PTRACE_SECCOMP_GET_FILTER], pid pid, addr intptr, data ptr[out, array[int8]]) -ptrace$PTRACE_SECCOMP_GET_METADATA(req const[PTRACE_SECCOMP_GET_METADATA], pid pid, addr len[data], data ptr[in, seccomp_metadata]) +# Only some commands break return values. +# When/if we have stricter enforcement of arguments, we may remove some of breaks_returns attributes. +ptrace(req flags[ptrace_req], pid pid) (breaks_returns) +ptrace$peek(req flags[ptrace_req_peek], pid pid, addr ptr[out, intptr]) (breaks_returns) +ptrace$poke(req flags[ptrace_req_poke], pid pid, addr ptr[out, intptr], data intptr) (breaks_returns) +ptrace$peekuser(req const[PTRACE_PEEKUSR], pid pid, addr intptr) (breaks_returns) +ptrace$pokeuser(req const[PTRACE_POKEUSR], pid pid, addr intptr, data intptr) (breaks_returns) +ptrace$getregs(req flags[ptrace_req_getregs], pid pid, ignored intptr, data buffer[out]) (breaks_returns) +ptrace$getregset(req const[PTRACE_GETREGSET], pid pid, what flags[pthread_regset], data ptr[in, iovec_out]) (breaks_returns) +ptrace$setregs(req flags[ptrace_req_setregs], pid pid, ignored intptr, data buffer[in]) (breaks_returns) +ptrace$setregset(req const[PTRACE_SETREGSET], pid pid, what flags[pthread_regset], data ptr[in, iovec_in]) (breaks_returns) +ptrace$getsig(req const[PTRACE_GETSIGINFO], pid pid, ignored intptr, data ptr[out, siginfo]) (breaks_returns) +ptrace$setsig(req const[PTRACE_SETSIGINFO], pid pid, ignored intptr, data ptr[in, siginfo]) (breaks_returns) +ptrace$setopts(req flags[ptrace_req_setopts], pid pid, ignored intptr, flags flags[ptrace_options]) (breaks_returns) +ptrace$getenv(req const[PTRACE_GETEVENTMSG], pid pid, ignored intptr, data ptr[out, intptr]) (breaks_returns) +ptrace$cont(req flags[ptrace_req_cont], pid pid, ignored intptr, data intptr) (breaks_returns) +ptrace$PTRACE_SECCOMP_GET_FILTER(req const[PTRACE_SECCOMP_GET_FILTER], pid pid, addr intptr, data ptr[out, array[int8]]) (breaks_returns) +ptrace$PTRACE_SECCOMP_GET_METADATA(req const[PTRACE_SECCOMP_GET_METADATA], pid pid, addr len[data], data ptr[in, seccomp_metadata]) (breaks_returns) seccomp_metadata { filter_off int64 @@ -263,8 +265,8 @@ utimes(filename ptr[in, filename], times ptr[in, itimerval]) futimesat(dir fd_dir, pathname ptr[in, filename], times ptr[in, itimerval]) utimensat(dir fd_dir, pathname ptr[in, filename], times ptr[in, itimerval], flags flags[utimensat_flags]) -clone(flags flags[clone_flags], sp buffer[in], parentid ptr[out, int32], childtid ptr[out, int32], tls buffer[in]) -clone3(args ptr[in, clone_args], size bytesize[args]) pid +clone(flags flags[clone_flags], sp buffer[in], parentid ptr[out, int32], childtid ptr[out, int32], tls buffer[in]) (breaks_returns) +clone3(args ptr[in, clone_args], size bytesize[args]) pid (breaks_returns) clone_args { flags flags[clone_flags, int64] diff --git a/sys/test/gen/32_fork_shmem.go b/sys/test/gen/32_fork_shmem.go index 907a58ef1..afddfbd95 100644 --- a/sys/test/gen/32_fork_shmem.go +++ b/sys/test/gen/32_fork_shmem.go @@ -945,6 +945,7 @@ var structDescs_32_fork_shmem = []*KeyedStruct{ } var syscalls_32_fork_shmem = []*Syscall{ + {Name: "breaks_returns", CallName: "breaks_returns", Attrs: SyscallAttrs{BreaksReturns: true}}, {Name: "fallback$0", CallName: "fallback", MissingArgs: 1, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "fallback$1", CallName: "fallback", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "a", TypeSize: 4}}, @@ -1055,8 +1056,6 @@ var syscalls_32_fork_shmem = []*Syscall{ {Name: "mutate_union", CallName: "mutate_union", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "p", TypeSize: 4}, &UnionType{Key: StructKey{Name: "syz_union0"}}}, }}, - {Name: "prctl$PR_SET_SECCOMP", CallName: "prctl"}, - {Name: "seccomp", CallName: "seccomp"}, {Name: "serialize0", CallName: "serialize0", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "a", TypeSize: 4}, &StructType{Key: StructKey{Name: "serialize0_struct"}}}, }}, @@ -1417,6 +1416,7 @@ var consts_32_fork_shmem = []ConstValue{ {"IPPROTO_TCP", 6}, {"IPPROTO_UDP", 17}, {"ONLY_32BITS_CONST", 1}, + {Name: "SYS_breaks_returns"}, {Name: "SYS_fallback"}, {Name: "SYS_foo"}, {Name: "SYS_minimize"}, @@ -1439,8 +1439,6 @@ var consts_32_fork_shmem = []ConstValue{ {Name: "SYS_mutate_integer2"}, {Name: "SYS_mutate_rangedbuffer"}, {Name: "SYS_mutate_union"}, - {Name: "SYS_prctl"}, - {Name: "SYS_seccomp"}, {Name: "SYS_serialize0"}, {Name: "SYS_serialize1"}, {Name: "SYS_test"}, @@ -1450,4 +1448,4 @@ var consts_32_fork_shmem = []ConstValue{ {Name: "SYS_unsupported"}, } -const revision_32_fork_shmem = "42febc260062ff9c4c73371e46dcc2ade4e32b36" +const revision_32_fork_shmem = "ab8275b5cfc2a37c9a8ab35108e25a9998325f38" diff --git a/sys/test/gen/32_shmem.go b/sys/test/gen/32_shmem.go index 03c356e20..40738ec38 100644 --- a/sys/test/gen/32_shmem.go +++ b/sys/test/gen/32_shmem.go @@ -939,6 +939,7 @@ var structDescs_32_shmem = []*KeyedStruct{ } var syscalls_32_shmem = []*Syscall{ + {Name: "breaks_returns", CallName: "breaks_returns", Attrs: SyscallAttrs{BreaksReturns: true}}, {Name: "fallback$0", CallName: "fallback", MissingArgs: 1, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "fallback$1", CallName: "fallback", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "a", TypeSize: 4}}, @@ -1049,8 +1050,6 @@ var syscalls_32_shmem = []*Syscall{ {Name: "mutate_union", CallName: "mutate_union", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "p", TypeSize: 4}, &UnionType{Key: StructKey{Name: "syz_union0"}}}, }}, - {Name: "prctl$PR_SET_SECCOMP", CallName: "prctl"}, - {Name: "seccomp", CallName: "seccomp"}, {Name: "serialize0", CallName: "serialize0", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "a", TypeSize: 4}, &StructType{Key: StructKey{Name: "serialize0_struct"}}}, }}, @@ -1411,6 +1410,7 @@ var consts_32_shmem = []ConstValue{ {"IPPROTO_TCP", 6}, {"IPPROTO_UDP", 17}, {"ONLY_32BITS_CONST", 1}, + {Name: "SYS_breaks_returns"}, {Name: "SYS_fallback"}, {Name: "SYS_foo"}, {Name: "SYS_minimize"}, @@ -1433,8 +1433,6 @@ var consts_32_shmem = []ConstValue{ {Name: "SYS_mutate_integer2"}, {Name: "SYS_mutate_rangedbuffer"}, {Name: "SYS_mutate_union"}, - {Name: "SYS_prctl"}, - {Name: "SYS_seccomp"}, {Name: "SYS_serialize0"}, {Name: "SYS_serialize1"}, {Name: "SYS_test"}, @@ -1444,4 +1442,4 @@ var consts_32_shmem = []ConstValue{ {Name: "SYS_unsupported"}, } -const revision_32_shmem = "ce7401e2afc658220944c84887758eb703c23b7c" +const revision_32_shmem = "46c71bcde42c5b69098cfd8d518c66b2b0af8163" diff --git a/sys/test/gen/64.go b/sys/test/gen/64.go index 51bfcb0b5..6cff498da 100644 --- a/sys/test/gen/64.go +++ b/sys/test/gen/64.go @@ -946,6 +946,7 @@ var structDescs_64 = []*KeyedStruct{ } var syscalls_64 = []*Syscall{ + {Name: "breaks_returns", CallName: "breaks_returns", Attrs: SyscallAttrs{BreaksReturns: true}}, {Name: "fallback$0", CallName: "fallback", MissingArgs: 1, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "fallback$1", CallName: "fallback", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "a", TypeSize: 4}}, @@ -1059,8 +1060,6 @@ var syscalls_64 = []*Syscall{ {Name: "mutate_union", CallName: "mutate_union", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "p", TypeSize: 8}, &UnionType{Key: StructKey{Name: "syz_union0"}}}, }}, - {Name: "prctl$PR_SET_SECCOMP", CallName: "prctl"}, - {Name: "seccomp", CallName: "seccomp"}, {Name: "serialize0", CallName: "serialize0", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "a", TypeSize: 8}, &StructType{Key: StructKey{Name: "serialize0_struct"}}}, }}, @@ -1421,6 +1420,7 @@ var consts_64 = []ConstValue{ {"IPPROTO_ICMPV6", 58}, {"IPPROTO_TCP", 6}, {"IPPROTO_UDP", 17}, + {Name: "SYS_breaks_returns"}, {Name: "SYS_fallback"}, {Name: "SYS_foo"}, {Name: "SYS_minimize"}, @@ -1443,8 +1443,6 @@ var consts_64 = []ConstValue{ {Name: "SYS_mutate_integer2"}, {Name: "SYS_mutate_rangedbuffer"}, {Name: "SYS_mutate_union"}, - {Name: "SYS_prctl"}, - {Name: "SYS_seccomp"}, {Name: "SYS_serialize0"}, {Name: "SYS_serialize1"}, {Name: "SYS_test"}, @@ -1454,4 +1452,4 @@ var consts_64 = []ConstValue{ {Name: "SYS_unsupported"}, } -const revision_64 = "5ebd7e76e815125be242b5a31d8ab9a335aab451" +const revision_64 = "d29ff4a36a0307a7520352f7fc08e9cb2184fe67" diff --git a/sys/test/gen/64_fork.go b/sys/test/gen/64_fork.go index 8053b1fa4..436bd9f60 100644 --- a/sys/test/gen/64_fork.go +++ b/sys/test/gen/64_fork.go @@ -946,6 +946,7 @@ var structDescs_64_fork = []*KeyedStruct{ } var syscalls_64_fork = []*Syscall{ + {Name: "breaks_returns", CallName: "breaks_returns", Attrs: SyscallAttrs{BreaksReturns: true}}, {Name: "fallback$0", CallName: "fallback", MissingArgs: 1, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "fallback$1", CallName: "fallback", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "a", TypeSize: 4}}, @@ -1056,8 +1057,6 @@ var syscalls_64_fork = []*Syscall{ {Name: "mutate_union", CallName: "mutate_union", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "p", TypeSize: 8}, &UnionType{Key: StructKey{Name: "syz_union0"}}}, }}, - {Name: "prctl$PR_SET_SECCOMP", CallName: "prctl"}, - {Name: "seccomp", CallName: "seccomp"}, {Name: "serialize0", CallName: "serialize0", Args: []Type{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "a", TypeSize: 8}, &StructType{Key: StructKey{Name: "serialize0_struct"}}}, }}, @@ -1417,6 +1416,7 @@ var consts_64_fork = []ConstValue{ {"IPPROTO_ICMPV6", 58}, {"IPPROTO_TCP", 6}, {"IPPROTO_UDP", 17}, + {Name: "SYS_breaks_returns"}, {Name: "SYS_fallback"}, {Name: "SYS_foo"}, {Name: "SYS_minimize"}, @@ -1439,8 +1439,6 @@ var consts_64_fork = []ConstValue{ {Name: "SYS_mutate_integer2"}, {Name: "SYS_mutate_rangedbuffer"}, {Name: "SYS_mutate_union"}, - {Name: "SYS_prctl"}, - {Name: "SYS_seccomp"}, {Name: "SYS_serialize0"}, {Name: "SYS_serialize1"}, {Name: "SYS_test"}, @@ -1450,4 +1448,4 @@ var consts_64_fork = []ConstValue{ {Name: "SYS_unsupported"}, } -const revision_64_fork = "4c2768ec4faaf99b5ed9e013acab8304244e4262" +const revision_64_fork = "eb6f5aaad384aba1748935015c3b4d25fb43f0a1" diff --git a/sys/test/test.txt b/sys/test/test.txt index 3fe67d905..1fa8406d1 100644 --- a/sys/test/test.txt +++ b/sys/test/test.txt @@ -786,8 +786,7 @@ foo$arch_specific_const_as_array_size(a ptr[in, array[int8, ARCH_64_SPECIFIC_CON fallback$0() fd fallback$1(a fd) -seccomp() -prctl$PR_SET_SECCOMP() +breaks_returns() (breaks_returns) # AUTO |
