diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-23 11:36:55 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-23 11:36:55 +0200 |
| commit | 2064fc5c9114c170841328aaa4b124a4062becf6 (patch) | |
| tree | 1e81e0ac88e3bb0ee6a74f60f12b16474469312c | |
| parent | f199f3a27d167f9814bd08aefca7698b0c23cd13 (diff) | |
sys/linux: add 2 custom uids
Give fuzzer 2 custom uids to mess with.
Ideally these should be proc, we can't do this for resources.
| -rw-r--r-- | executor/syscalls_linux.h | 10 | ||||
| -rw-r--r-- | sys/linux/gen/386.go | 6 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 6 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 6 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 6 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 6 | ||||
| -rw-r--r-- | sys/linux/sys.txt | 4 |
7 files changed, 22 insertions, 22 deletions
diff --git a/executor/syscalls_linux.h b/executor/syscalls_linux.h index b0d7910a4..fbb3f5e0b 100644 --- a/executor/syscalls_linux.h +++ b/executor/syscalls_linux.h @@ -2,7 +2,7 @@ #if defined(__i386__) || 0 #define GOARCH "386" -#define SYZ_REVISION "3cc00d5b278c80ccbb69bfb9b2089b9cefd52254" +#define SYZ_REVISION "fc3300b7f8db3b35027664233521d285112e427b" #define SYZ_EXECUTOR_USES_FORK_SERVER true #define SYZ_EXECUTOR_USES_SHMEM true #define SYZ_PAGE_SIZE 4096 @@ -2012,7 +2012,7 @@ const call_t syscalls[] = { #if defined(__x86_64__) || 0 #define GOARCH "amd64" -#define SYZ_REVISION "2f499ab1475633090aadc9399405f16e619480e8" +#define SYZ_REVISION "f94912c4752893e0442bf54c8a6648913b415779" #define SYZ_EXECUTOR_USES_FORK_SERVER true #define SYZ_EXECUTOR_USES_SHMEM true #define SYZ_PAGE_SIZE 4096 @@ -4074,7 +4074,7 @@ const call_t syscalls[] = { #if defined(__arm__) || 0 #define GOARCH "arm" -#define SYZ_REVISION "d373b7418e22d2a44adc3f3621d56ac784732e3c" +#define SYZ_REVISION "8913f14c02b6364d8ace032d85118029d6ef1f0a" #define SYZ_EXECUTOR_USES_FORK_SERVER true #define SYZ_EXECUTOR_USES_SHMEM true #define SYZ_PAGE_SIZE 4096 @@ -6092,7 +6092,7 @@ const call_t syscalls[] = { #if defined(__aarch64__) || 0 #define GOARCH "arm64" -#define SYZ_REVISION "954a49c1b90d58ca64a0dadec955f9fcf36ba8ab" +#define SYZ_REVISION "e1630e1ef87bcd2892029818231049a7df2cf8f6" #define SYZ_EXECUTOR_USES_FORK_SERVER true #define SYZ_EXECUTOR_USES_SHMEM true #define SYZ_PAGE_SIZE 4096 @@ -8082,7 +8082,7 @@ const call_t syscalls[] = { #if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0 #define GOARCH "ppc64le" -#define SYZ_REVISION "886d52124a6cc12f25a912481c05e19f75a41818" +#define SYZ_REVISION "5dc3cb632b38d2e456b379c3de62a1b036bee99a" #define SYZ_EXECUTOR_USES_FORK_SERVER true #define SYZ_EXECUTOR_USES_SHMEM true #define SYZ_PAGE_SIZE 4096 diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 75c1a2e9a..c126c6f35 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -77,7 +77,7 @@ var resources_386 = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_team_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_team_family_id"}, Values: []uint64{0}}, - {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, @@ -145,7 +145,7 @@ var resources_386 = []*ResourceDesc{ {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, {Name: "time_usec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_usec"}, Values: []uint64{0}}, {Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}}, - {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -36783,4 +36783,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "3cc00d5b278c80ccbb69bfb9b2089b9cefd52254" +const revision_386 = "fc3300b7f8db3b35027664233521d285112e427b" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 738d6c100..1938d8dbc 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -77,7 +77,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_team_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_team_family_id"}, Values: []uint64{0}}, - {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, @@ -151,7 +151,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, {Name: "time_usec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_usec"}, Values: []uint64{0}}, {Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}}, - {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -37468,4 +37468,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "2f499ab1475633090aadc9399405f16e619480e8" +const revision_amd64 = "f94912c4752893e0442bf54c8a6648913b415779" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index e5501392e..958463f42 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -77,7 +77,7 @@ var resources_arm = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_team_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_team_family_id"}, Values: []uint64{0}}, - {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, @@ -150,7 +150,7 @@ var resources_arm = []*ResourceDesc{ {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, {Name: "time_usec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_usec"}, Values: []uint64{0}}, {Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}}, - {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -36641,4 +36641,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "d373b7418e22d2a44adc3f3621d56ac784732e3c" +const revision_arm = "8913f14c02b6364d8ace032d85118029d6ef1f0a" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 5560f56b8..47068e584 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -77,7 +77,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_team_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_team_family_id"}, Values: []uint64{0}}, - {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, @@ -151,7 +151,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, {Name: "time_usec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_usec"}, Values: []uint64{0}}, {Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}}, - {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -36833,4 +36833,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "954a49c1b90d58ca64a0dadec955f9fcf36ba8ab" +const revision_arm64 = "e1630e1ef87bcd2892029818231049a7df2cf8f6" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index a16fdc02f..67831e55d 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -75,7 +75,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_team_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_team_family_id"}, Values: []uint64{0}}, - {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "gid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"gid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, @@ -143,7 +143,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, {Name: "time_usec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_usec"}, Values: []uint64{0}}, {Name: "timerid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"timerid"}, Values: []uint64{0}}, - {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -34255,4 +34255,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "886d52124a6cc12f25a912481c05e19f75a41818" +const revision_ppc64le = "5dc3cb632b38d2e456b379c3de62a1b036bee99a" diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 405b3f156..bfd62369b 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -306,8 +306,8 @@ utimensat(dir fd_dir, pathname ptr[in, filename], times ptr[in, itimerval], flag clone(flags flags[clone_flags], sp buffer[in], parentid ptr[out, int32], childtid ptr[out, int32], tls buffer[in]) resource pid[int32]: 0, 0xffffffffffffffff -resource uid[int32]: 0, 0xffffffffffffffff -resource gid[int32]: 0, 0xffffffffffffffff +resource uid[int32]: 0, 0xffffffffffffffff, 0xee00, 0xee01 +resource gid[int32]: 0, 0xffffffffffffffff, 0xee00, 0xee01 getgid() gid getegid() gid |
