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 /sys | |
| 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.
Diffstat (limited to 'sys')
| -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 |
18 files changed, 589 insertions, 592 deletions
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 |
