diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 13:50:35 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 13:50:35 +0200 |
| commit | 881bc4f9563e82efda303447725d82f10ef9c29a (patch) | |
| tree | 0e7f4868ebe7b472f74da1ef3c836318d6e0f38b | |
| parent | db716d6653d073b0abfb51186cd4ac2d5418c9c6 (diff) | |
sys/linux: add IMA mount options
| -rw-r--r-- | executor/defs.h | 10 | ||||
| -rw-r--r-- | sys/linux/filesystem.txt | 54 | ||||
| -rw-r--r-- | sys/linux/gen/386.go | 142 | ||||
| -rw-r--r-- | sys/linux/gen/amd64.go | 142 | ||||
| -rw-r--r-- | sys/linux/gen/arm.go | 142 | ||||
| -rw-r--r-- | sys/linux/gen/arm64.go | 142 | ||||
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 142 |
7 files changed, 764 insertions, 10 deletions
diff --git a/executor/defs.h b/executor/defs.h index b46787dc6..0bf21ec47 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -60,7 +60,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "4938aa31616abf36fa5e8072751c174a3c58b918" +#define SYZ_REVISION "10c2e1963a361ef4b695fc01b80376454adc6331" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -70,7 +70,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "59ef4909a9242eecd323605076a38dfd5a0e6bb9" +#define SYZ_REVISION "1447eaca66233217c692400c6a0e8788838aeb8a" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -80,7 +80,7 @@ #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "c81d770b5f4f36bd86a8be4093b0e6a2f32c81a9" +#define SYZ_REVISION "d41b34f2fcca37bad6a4f08a943f8f086e05be6c" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -90,7 +90,7 @@ #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "6a78aa3380aa93e8412af28fe0628b42735ad076" +#define SYZ_REVISION "2c7bc4391c335ad2b8211cba05c292d1ec5281ad" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -100,7 +100,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "e890f4cbfb308d986890f0ac52962cba5e9ef922" +#define SYZ_REVISION "8afa0853ccd1c8eb144790312a22085146709af5" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt index 871135cba..90e78954c 100644 --- a/sys/linux/filesystem.txt +++ b/sys/linux/filesystem.txt @@ -102,6 +102,11 @@ type fs_opt[NAME, TYPE] { val TYPE } [packed] +type fs_opt_nodelim[NAME, TYPE] { + name stringnoz[NAME] + val TYPE +} [packed] + type fs_opt_str[NAME] fs_opt[NAME, stringnoz] type fs_opt_dec[NAME, VAL] fs_opt[NAME, fmt[dec, VAL]] type fs_opt_hex[NAME, VAL] fs_opt[NAME, fmt[hex, VAL]] @@ -127,8 +132,57 @@ fs_options_security [ smackfshat fs_opt_str["smackfshat"] smackfsroot fs_opt_str["smackfsroot"] smackfstransmute fs_opt_str["smackfstransmute"] + +# IMA options: + measure stringnoz["measure"] + dont_measure stringnoz["dont_measure"] + appraise stringnoz["appraise"] + dont_appraise stringnoz["dont_appraise"] + audit stringnoz["audit"] + hash stringnoz["hash"] + dont_hash stringnoz["dont_hash"] + permit_directio stringnoz["permit_directio"] + obj_user fs_opt_str["obj_user"] + obj_role fs_opt_str["obj_role"] + obj_type fs_opt_str["obj_type"] + subj_user fs_opt_str["subj_user"] + subj_role fs_opt_str["subj_role"] + subj_type fs_opt_str["subj_type"] + func fs_opt["func", stringnoz[ima_funcs]] + mask fs_opt["mask", stringnoz[ima_masks]] + fsmagic fs_opt_hex["fsmagic", intptr] + fsname fs_opt_str["fsname"] + fsuuid fs_opt["fsuuid", uuid_str] + uid_eq fs_opt_dec["uid", uid] + euid_eq fs_opt_dec["euid", uid] + fowner_eq fs_opt_dec["fowner", uid] + uid_gt fs_opt_nodelim["uid>", fmt[dec, uid]] + euid_gt fs_opt_nodelim["euid>", fmt[dec, uid]] + fowner_gt fs_opt_nodelim["fowner>", fmt[dec, uid]] + uid_lt fs_opt_nodelim["uid<", fmt[dec, uid]] + euid_lt fs_opt_nodelim["euid<", fmt[dec, uid]] + fowner_lt fs_opt_nodelim["fowner<", fmt[dec, uid]] + appraise_type stringnoz["appraise_type=imasig"] + pcr fs_opt_dec["pcr", int64[0:64]] ] [varlen] +uuid_str { + p0 array[flags[hex_chars, int8], 8] + d0 const['-', int8] + p1 array[flags[hex_chars, int8], 4] + d1 const['-', int8] + p2 array[flags[hex_chars, int8], 4] + d2 const['-', int8] + p3 array[flags[hex_chars, int8], 4] + d3 const['-', int8] + p4 array[flags[hex_chars, int8], 8] +} + +hex_chars = '0', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' + +ima_funcs = "FILE_CHECK", "PATH_CHECK", "MODULE_CHECK", "FIRMWARE_CHECK", "FILE_MMAP", "MMAP_CHECK", "BPRM_CHECK", "CREDS_CHECK", "KEXEC_KERNEL_CHECK", "KEXEC_INITRAMFS_CHECK", "POLICY_CHECK" +ima_masks = "MAY_EXEC", "MAY_WRITE", "MAY_READ", "MAY_APPEND", "^MAY_EXEC", "^MAY_WRITE", "^MAY_READ", "^MAY_APPEND" + msdos_options [ fat fat_options nodots stringnoz["nodots"] diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 1e1a07073..81c95e980 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -3843,6 +3843,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"euid\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"euid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fault_injection\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fault_injection\", fmt[hex, int32]]", TypeSize: 34}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 15}, Kind: 2, Values: []string{"fault_injection"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3863,11 +3868,36 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 23}, ArgFormat: 4}}, }}}, + {Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fowner\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fowner"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"fscontext"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "selinux_user_context", Values: []string{"root", "staff_u", "sysadm_u", "system_u", "unconfined_u", "user_u"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsmagic\", fmt[hex, intptr]]", TypeSize: 26}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fsmagic"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 18}, ArgFormat: 3}}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsname\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsname"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsuuid\", uuid_str]", TypeSize: 39}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsuuid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &StructType{Key: StructKey{Name: "uuid_str"}, FldName: "val"}, + }}}, + {Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"func\", stringnoz[ima_funcs]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"func"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_funcs", Values: []string{"FILE_CHECK", "PATH_CHECK", "MODULE_CHECK", "FIRMWARE_CHECK", "FILE_MMAP", "MMAP_CHECK", "BPRM_CHECK", "CREDS_CHECK", "KEXEC_KERNEL_CHECK", "KEXEC_INITRAMFS_CHECK", "POLICY_CHECK"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", fmt[hex, gid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"gid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3963,6 +3993,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mask\", stringnoz[ima_masks]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mask"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_masks", Values: []string{"MAY_EXEC", "MAY_WRITE", "MAY_READ", "MAY_APPEND", "^MAY_EXEC", "^MAY_WRITE", "^MAY_READ", "^MAY_APPEND"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4018,11 +4053,31 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "codepages_names", Values: []string{"macceltic", "maccenteuro", "maccroatian", "maccyrillic", "macgaelic", "macgreek", "maciceland", "macinuit", "macroman", "macromanian", "macturkish", "ascii", "default", "cp1250", "cp1251", "cp1255", "cp437", "cp737", "cp775", "cp850", "cp852", "cp855", "cp857", "cp860", "cp861", "cp862", "cp863", "cp864", "cp865", "cp866", "cp869", "cp874", "cp932", "cp936", "cp949", "cp950", "euc-jp", "iso8859-13", "iso8859-14", "iso8859-15", "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-7", "iso8859-9", "koi8-r", "koi8-ru", "koi8-u", "utf8", "none"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"part\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"part\", fmt[hex, int32]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"part"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"pcr"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 20}, ArgFormat: 2}, Kind: 2, RangeEnd: 64}, + }}}, {Key: StructKey{Name: "fs_opt[\"port\", fmt[hex, sock_port]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"port\", fmt[hex, sock_port]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"port"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4153,6 +4208,21 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"subvol\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subvol\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"subvol"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4193,6 +4263,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, }}}, + {Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[hex, uid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4328,6 +4403,30 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "xfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_options[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[bpf_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[bpf_options]"}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "security", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[fs_options_security]"}}}, @@ -4434,6 +4533,36 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"smackfshat\", stringnoz]"}, FldName: "smackfshat"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfsroot\", stringnoz]"}, FldName: "smackfsroot"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfstransmute\", stringnoz]"}, FldName: "smackfstransmute"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "measure", TypeSize: 7}, Kind: 2, Values: []string{"measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_measure", TypeSize: 12}, Kind: 2, Values: []string{"dont_measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise", TypeSize: 8}, Kind: 2, Values: []string{"appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_appraise", TypeSize: 13}, Kind: 2, Values: []string{"dont_appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "audit", TypeSize: 5}, Kind: 2, Values: []string{"audit"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hash", TypeSize: 4}, Kind: 2, Values: []string{"hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_hash", TypeSize: 9}, Kind: 2, Values: []string{"dont_hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "permit_directio", TypeSize: 15}, Kind: 2, Values: []string{"permit_directio"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, FldName: "obj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, FldName: "obj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, FldName: "obj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, FldName: "subj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, FldName: "subj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, FldName: "subj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, FldName: "func"}, + &StructType{Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, FldName: "mask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, FldName: "fsmagic"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, FldName: "fsname"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, FldName: "fsuuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, FldName: "uid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, FldName: "euid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, FldName: "fowner_eq"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, FldName: "uid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, FldName: "euid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, FldName: "fowner_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, FldName: "uid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, FldName: "euid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, FldName: "fowner_lt"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise_type", TypeSize: 20}, Kind: 2, Values: []string{"appraise_type=imasig"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, FldName: "pcr"}, }}}, {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -19294,6 +19423,17 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "actime", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "modtime", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "uuid_str"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uuid_str", TypeSize: 32}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p0", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d0", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p1", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d1", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p2", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d2", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p3", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d3", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p4", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, {Key: StructKey{Name: "v4l2_audio"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_audio", TypeSize: 52}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, @@ -41148,4 +41288,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "4938aa31616abf36fa5e8072751c174a3c58b918" +const revision_386 = "10c2e1963a361ef4b695fc01b80376454adc6331" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 935bee71c..aa63ccae2 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -3929,6 +3929,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"euid\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"euid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fault_injection\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fault_injection\", fmt[hex, int32]]", TypeSize: 34}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 15}, Kind: 2, Values: []string{"fault_injection"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3949,11 +3954,36 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 23}, ArgFormat: 4}}, }}}, + {Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fowner\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fowner"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"fscontext"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "selinux_user_context", Values: []string{"root", "staff_u", "sysadm_u", "system_u", "unconfined_u", "user_u"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsmagic\", fmt[hex, intptr]]", TypeSize: 26}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fsmagic"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 18}, ArgFormat: 3}}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsname\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsname"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsuuid\", uuid_str]", TypeSize: 39}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsuuid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &StructType{Key: StructKey{Name: "uuid_str"}, FldName: "val"}, + }}}, + {Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"func\", stringnoz[ima_funcs]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"func"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_funcs", Values: []string{"FILE_CHECK", "PATH_CHECK", "MODULE_CHECK", "FIRMWARE_CHECK", "FILE_MMAP", "MMAP_CHECK", "BPRM_CHECK", "CREDS_CHECK", "KEXEC_KERNEL_CHECK", "KEXEC_INITRAMFS_CHECK", "POLICY_CHECK"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", fmt[hex, gid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"gid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4049,6 +4079,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mask\", stringnoz[ima_masks]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mask"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_masks", Values: []string{"MAY_EXEC", "MAY_WRITE", "MAY_READ", "MAY_APPEND", "^MAY_EXEC", "^MAY_WRITE", "^MAY_READ", "^MAY_APPEND"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4104,11 +4139,31 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "codepages_names", Values: []string{"macceltic", "maccenteuro", "maccroatian", "maccyrillic", "macgaelic", "macgreek", "maciceland", "macinuit", "macroman", "macromanian", "macturkish", "ascii", "default", "cp1250", "cp1251", "cp1255", "cp437", "cp737", "cp775", "cp850", "cp852", "cp855", "cp857", "cp860", "cp861", "cp862", "cp863", "cp864", "cp865", "cp866", "cp869", "cp874", "cp932", "cp936", "cp949", "cp950", "euc-jp", "iso8859-13", "iso8859-14", "iso8859-15", "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-7", "iso8859-9", "koi8-r", "koi8-ru", "koi8-u", "utf8", "none"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"part\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"part\", fmt[hex, int32]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"part"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"pcr"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 20}, ArgFormat: 2}, Kind: 2, RangeEnd: 64}, + }}}, {Key: StructKey{Name: "fs_opt[\"port\", fmt[hex, sock_port]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"port\", fmt[hex, sock_port]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"port"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4239,6 +4294,21 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"subvol\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subvol\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"subvol"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4279,6 +4349,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, }}}, + {Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[hex, uid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4414,6 +4489,30 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "xfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_options[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[bpf_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[bpf_options]"}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "security", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[fs_options_security]"}}}, @@ -4520,6 +4619,36 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"smackfshat\", stringnoz]"}, FldName: "smackfshat"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfsroot\", stringnoz]"}, FldName: "smackfsroot"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfstransmute\", stringnoz]"}, FldName: "smackfstransmute"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "measure", TypeSize: 7}, Kind: 2, Values: []string{"measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_measure", TypeSize: 12}, Kind: 2, Values: []string{"dont_measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise", TypeSize: 8}, Kind: 2, Values: []string{"appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_appraise", TypeSize: 13}, Kind: 2, Values: []string{"dont_appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "audit", TypeSize: 5}, Kind: 2, Values: []string{"audit"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hash", TypeSize: 4}, Kind: 2, Values: []string{"hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_hash", TypeSize: 9}, Kind: 2, Values: []string{"dont_hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "permit_directio", TypeSize: 15}, Kind: 2, Values: []string{"permit_directio"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, FldName: "obj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, FldName: "obj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, FldName: "obj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, FldName: "subj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, FldName: "subj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, FldName: "subj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, FldName: "func"}, + &StructType{Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, FldName: "mask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, FldName: "fsmagic"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, FldName: "fsname"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, FldName: "fsuuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, FldName: "uid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, FldName: "euid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, FldName: "fowner_eq"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, FldName: "uid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, FldName: "euid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, FldName: "fowner_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, FldName: "uid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, FldName: "euid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, FldName: "fowner_lt"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise_type", TypeSize: 20}, Kind: 2, Values: []string{"appraise_type=imasig"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, FldName: "pcr"}, }}}, {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -19621,6 +19750,17 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "actime", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "modtime", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uuid_str"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uuid_str", TypeSize: 32}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p0", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d0", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p1", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d1", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p2", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d2", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p3", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d3", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p4", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, {Key: StructKey{Name: "v4l2_audio"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_audio", TypeSize: 52}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, @@ -41842,4 +41982,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "59ef4909a9242eecd323605076a38dfd5a0e6bb9" +const revision_amd64 = "1447eaca66233217c692400c6a0e8788838aeb8a" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index ae1d9313b..fb298bc7e 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -3848,6 +3848,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"euid\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"euid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fault_injection\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fault_injection\", fmt[hex, int32]]", TypeSize: 34}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 15}, Kind: 2, Values: []string{"fault_injection"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3868,11 +3873,36 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 23}, ArgFormat: 4}}, }}}, + {Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fowner\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fowner"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"fscontext"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "selinux_user_context", Values: []string{"root", "staff_u", "sysadm_u", "system_u", "unconfined_u", "user_u"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsmagic\", fmt[hex, intptr]]", TypeSize: 26}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fsmagic"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 18}, ArgFormat: 3}}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsname\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsname"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsuuid\", uuid_str]", TypeSize: 39}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsuuid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &StructType{Key: StructKey{Name: "uuid_str"}, FldName: "val"}, + }}}, + {Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"func\", stringnoz[ima_funcs]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"func"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_funcs", Values: []string{"FILE_CHECK", "PATH_CHECK", "MODULE_CHECK", "FIRMWARE_CHECK", "FILE_MMAP", "MMAP_CHECK", "BPRM_CHECK", "CREDS_CHECK", "KEXEC_KERNEL_CHECK", "KEXEC_INITRAMFS_CHECK", "POLICY_CHECK"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", fmt[hex, gid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"gid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3968,6 +3998,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mask\", stringnoz[ima_masks]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mask"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_masks", Values: []string{"MAY_EXEC", "MAY_WRITE", "MAY_READ", "MAY_APPEND", "^MAY_EXEC", "^MAY_WRITE", "^MAY_READ", "^MAY_APPEND"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4023,11 +4058,31 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "codepages_names", Values: []string{"macceltic", "maccenteuro", "maccroatian", "maccyrillic", "macgaelic", "macgreek", "maciceland", "macinuit", "macroman", "macromanian", "macturkish", "ascii", "default", "cp1250", "cp1251", "cp1255", "cp437", "cp737", "cp775", "cp850", "cp852", "cp855", "cp857", "cp860", "cp861", "cp862", "cp863", "cp864", "cp865", "cp866", "cp869", "cp874", "cp932", "cp936", "cp949", "cp950", "euc-jp", "iso8859-13", "iso8859-14", "iso8859-15", "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-7", "iso8859-9", "koi8-r", "koi8-ru", "koi8-u", "utf8", "none"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"part\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"part\", fmt[hex, int32]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"part"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"pcr"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 20}, ArgFormat: 2}, Kind: 2, RangeEnd: 64}, + }}}, {Key: StructKey{Name: "fs_opt[\"port\", fmt[hex, sock_port]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"port\", fmt[hex, sock_port]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"port"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4158,6 +4213,21 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"subvol\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subvol\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"subvol"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4198,6 +4268,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, }}}, + {Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[hex, uid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4333,6 +4408,30 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "xfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_options[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[bpf_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[bpf_options]"}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "security", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[fs_options_security]"}}}, @@ -4439,6 +4538,36 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"smackfshat\", stringnoz]"}, FldName: "smackfshat"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfsroot\", stringnoz]"}, FldName: "smackfsroot"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfstransmute\", stringnoz]"}, FldName: "smackfstransmute"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "measure", TypeSize: 7}, Kind: 2, Values: []string{"measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_measure", TypeSize: 12}, Kind: 2, Values: []string{"dont_measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise", TypeSize: 8}, Kind: 2, Values: []string{"appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_appraise", TypeSize: 13}, Kind: 2, Values: []string{"dont_appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "audit", TypeSize: 5}, Kind: 2, Values: []string{"audit"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hash", TypeSize: 4}, Kind: 2, Values: []string{"hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_hash", TypeSize: 9}, Kind: 2, Values: []string{"dont_hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "permit_directio", TypeSize: 15}, Kind: 2, Values: []string{"permit_directio"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, FldName: "obj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, FldName: "obj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, FldName: "obj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, FldName: "subj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, FldName: "subj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, FldName: "subj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, FldName: "func"}, + &StructType{Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, FldName: "mask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, FldName: "fsmagic"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, FldName: "fsname"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, FldName: "fsuuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, FldName: "uid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, FldName: "euid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, FldName: "fowner_eq"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, FldName: "uid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, FldName: "euid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, FldName: "fowner_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, FldName: "uid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, FldName: "euid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, FldName: "fowner_lt"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise_type", TypeSize: 20}, Kind: 2, Values: []string{"appraise_type=imasig"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, FldName: "pcr"}, }}}, {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -19159,6 +19288,17 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nampac1", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "nampac2", TypeSize: 4, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "uuid_str"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uuid_str", TypeSize: 32}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p0", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d0", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p1", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d1", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p2", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d2", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p3", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d3", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p4", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, {Key: StructKey{Name: "v4l2_audio"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_audio", TypeSize: 52}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, @@ -41014,4 +41154,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "c81d770b5f4f36bd86a8be4093b0e6a2f32c81a9" +const revision_arm = "d41b34f2fcca37bad6a4f08a943f8f086e05be6c" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 0a15896f2..43cc13d91 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -3929,6 +3929,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"euid\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"euid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fault_injection\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fault_injection\", fmt[hex, int32]]", TypeSize: 34}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 15}, Kind: 2, Values: []string{"fault_injection"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3949,11 +3954,36 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 23}, ArgFormat: 4}}, }}}, + {Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fowner\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fowner"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"fscontext"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "selinux_user_context", Values: []string{"root", "staff_u", "sysadm_u", "system_u", "unconfined_u", "user_u"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsmagic\", fmt[hex, intptr]]", TypeSize: 26}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fsmagic"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 18}, ArgFormat: 3}}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsname\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsname"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsuuid\", uuid_str]", TypeSize: 39}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsuuid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &StructType{Key: StructKey{Name: "uuid_str"}, FldName: "val"}, + }}}, + {Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"func\", stringnoz[ima_funcs]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"func"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_funcs", Values: []string{"FILE_CHECK", "PATH_CHECK", "MODULE_CHECK", "FIRMWARE_CHECK", "FILE_MMAP", "MMAP_CHECK", "BPRM_CHECK", "CREDS_CHECK", "KEXEC_KERNEL_CHECK", "KEXEC_INITRAMFS_CHECK", "POLICY_CHECK"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", fmt[hex, gid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"gid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4049,6 +4079,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mask\", stringnoz[ima_masks]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mask"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_masks", Values: []string{"MAY_EXEC", "MAY_WRITE", "MAY_READ", "MAY_APPEND", "^MAY_EXEC", "^MAY_WRITE", "^MAY_READ", "^MAY_APPEND"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4104,11 +4139,31 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "codepages_names", Values: []string{"macceltic", "maccenteuro", "maccroatian", "maccyrillic", "macgaelic", "macgreek", "maciceland", "macinuit", "macroman", "macromanian", "macturkish", "ascii", "default", "cp1250", "cp1251", "cp1255", "cp437", "cp737", "cp775", "cp850", "cp852", "cp855", "cp857", "cp860", "cp861", "cp862", "cp863", "cp864", "cp865", "cp866", "cp869", "cp874", "cp932", "cp936", "cp949", "cp950", "euc-jp", "iso8859-13", "iso8859-14", "iso8859-15", "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-7", "iso8859-9", "koi8-r", "koi8-ru", "koi8-u", "utf8", "none"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"part\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"part\", fmt[hex, int32]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"part"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"pcr"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 20}, ArgFormat: 2}, Kind: 2, RangeEnd: 64}, + }}}, {Key: StructKey{Name: "fs_opt[\"port\", fmt[hex, sock_port]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"port\", fmt[hex, sock_port]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"port"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4239,6 +4294,21 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"subvol\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subvol\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"subvol"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4279,6 +4349,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, }}}, + {Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[hex, uid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4414,6 +4489,30 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "xfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_options[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[bpf_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[bpf_options]"}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "security", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[fs_options_security]"}}}, @@ -4520,6 +4619,36 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"smackfshat\", stringnoz]"}, FldName: "smackfshat"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfsroot\", stringnoz]"}, FldName: "smackfsroot"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfstransmute\", stringnoz]"}, FldName: "smackfstransmute"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "measure", TypeSize: 7}, Kind: 2, Values: []string{"measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_measure", TypeSize: 12}, Kind: 2, Values: []string{"dont_measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise", TypeSize: 8}, Kind: 2, Values: []string{"appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_appraise", TypeSize: 13}, Kind: 2, Values: []string{"dont_appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "audit", TypeSize: 5}, Kind: 2, Values: []string{"audit"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hash", TypeSize: 4}, Kind: 2, Values: []string{"hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_hash", TypeSize: 9}, Kind: 2, Values: []string{"dont_hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "permit_directio", TypeSize: 15}, Kind: 2, Values: []string{"permit_directio"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, FldName: "obj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, FldName: "obj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, FldName: "obj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, FldName: "subj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, FldName: "subj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, FldName: "subj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, FldName: "func"}, + &StructType{Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, FldName: "mask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, FldName: "fsmagic"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, FldName: "fsname"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, FldName: "fsuuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, FldName: "uid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, FldName: "euid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, FldName: "fowner_eq"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, FldName: "uid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, FldName: "euid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, FldName: "fowner_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, FldName: "uid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, FldName: "euid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, FldName: "fowner_lt"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise_type", TypeSize: 20}, Kind: 2, Values: []string{"appraise_type=imasig"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, FldName: "pcr"}, }}}, {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -19413,6 +19542,17 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "uuid_str"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uuid_str", TypeSize: 32}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p0", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d0", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p1", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d1", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p2", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d2", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p3", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d3", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p4", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, {Key: StructKey{Name: "v4l2_audio"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "v4l2_audio", TypeSize: 52}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "index", TypeSize: 4}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "name", TypeSize: 32}, Kind: 1, RangeBegin: 32, RangeEnd: 32}, @@ -41236,4 +41376,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "6a78aa3380aa93e8412af28fe0628b42735ad076" +const revision_arm64 = "2c7bc4391c335ad2b8211cba05c292d1ec5281ad" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index a761ba34b..f3092057f 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -3920,6 +3920,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"euid\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"euid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fault_injection\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fault_injection\", fmt[hex, int32]]", TypeSize: 34}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 15}, Kind: 2, Values: []string{"fault_injection"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3940,11 +3945,36 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 23}, ArgFormat: 4}}, }}}, + {Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fowner\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fowner"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fscontext\", stringnoz[selinux_user_context]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"fscontext"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "selinux_user_context", Values: []string{"root", "staff_u", "sysadm_u", "system_u", "unconfined_u", "user_u"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsmagic\", fmt[hex, intptr]]", TypeSize: 26}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fsmagic"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 18}, ArgFormat: 3}}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsname\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsname"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fsuuid\", uuid_str]", TypeSize: 39}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"fsuuid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &StructType{Key: StructKey{Name: "uuid_str"}, FldName: "val"}, + }}}, + {Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"func\", stringnoz[ima_funcs]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"func"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_funcs", Values: []string{"FILE_CHECK", "PATH_CHECK", "MODULE_CHECK", "FIRMWARE_CHECK", "FILE_MMAP", "MMAP_CHECK", "BPRM_CHECK", "CREDS_CHECK", "KEXEC_KERNEL_CHECK", "KEXEC_INITRAMFS_CHECK", "POLICY_CHECK"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"gid\", fmt[hex, gid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", fmt[hex, gid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"gid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4040,6 +4070,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "val", IsVarlen: true}, Kind: 3, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mask\", stringnoz[ima_masks]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mask"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "ima_masks", Values: []string{"MAY_EXEC", "MAY_WRITE", "MAY_READ", "MAY_APPEND", "^MAY_EXEC", "^MAY_WRITE", "^MAY_READ", "^MAY_APPEND"}, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"max_batch_time\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"max_batch_time\", fmt[hex, int32]]", TypeSize: 33}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 14}, Kind: 2, Values: []string{"max_batch_time"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4095,11 +4130,31 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, SubKind: "codepages_names", Values: []string{"macceltic", "maccenteuro", "maccroatian", "maccyrillic", "macgaelic", "macgreek", "maciceland", "macinuit", "macroman", "macromanian", "macturkish", "ascii", "default", "cp1250", "cp1251", "cp1255", "cp437", "cp737", "cp775", "cp850", "cp852", "cp855", "cp857", "cp860", "cp861", "cp862", "cp863", "cp864", "cp865", "cp866", "cp869", "cp874", "cp932", "cp936", "cp949", "cp950", "euc-jp", "iso8859-13", "iso8859-14", "iso8859-15", "iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5", "iso8859-6", "iso8859-7", "iso8859-9", "koi8-r", "koi8-ru", "koi8-u", "utf8", "none"}, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"obj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 8}, Kind: 2, Values: []string{"obj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"part\", fmt[hex, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"part\", fmt[hex, int32]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"part"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"pcr"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 20}, ArgFormat: 2}, Kind: 2, RangeEnd: 64}, + }}}, {Key: StructKey{Name: "fs_opt[\"port\", fmt[hex, sock_port]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"port\", fmt[hex, sock_port]]", TypeSize: 23}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"port"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4230,6 +4285,21 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 18}, ArgFormat: 3}}, }}}, + {Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_role\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_role"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_type\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_type"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, + {Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subj_user\", stringnoz]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"subj_user"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "val", IsVarlen: true}, Kind: 2, NoZ: true}, + }}}, {Key: StructKey{Name: "fs_opt[\"subvol\", stringnoz]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"subvol\", stringnoz]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 6}, Kind: 2, Values: []string{"subvol"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4270,6 +4340,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, }}}, + {Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_opt[\"uid\", fmt[hex, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", fmt[hex, uid]]", TypeSize: 22}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"uid"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -4405,6 +4480,30 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "xfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]", TypeSize: 25}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"euid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]", TypeSize: 27}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 7}, Kind: 2, Values: []string{"fowner>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid<"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, + {Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]", TypeSize: 24}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"uid>"}, NoZ: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", TypeSize: 20}, ArgFormat: 2}, + }}}, {Key: StructKey{Name: "fs_options[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[bpf_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[bpf_options]"}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "security", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[fs_options_security]"}}}, @@ -4511,6 +4610,36 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"smackfshat\", stringnoz]"}, FldName: "smackfshat"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfsroot\", stringnoz]"}, FldName: "smackfsroot"}, &StructType{Key: StructKey{Name: "fs_opt[\"smackfstransmute\", stringnoz]"}, FldName: "smackfstransmute"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "measure", TypeSize: 7}, Kind: 2, Values: []string{"measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_measure", TypeSize: 12}, Kind: 2, Values: []string{"dont_measure"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise", TypeSize: 8}, Kind: 2, Values: []string{"appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_appraise", TypeSize: 13}, Kind: 2, Values: []string{"dont_appraise"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "audit", TypeSize: 5}, Kind: 2, Values: []string{"audit"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "hash", TypeSize: 4}, Kind: 2, Values: []string{"hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dont_hash", TypeSize: 9}, Kind: 2, Values: []string{"dont_hash"}, NoZ: true}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "permit_directio", TypeSize: 15}, Kind: 2, Values: []string{"permit_directio"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_user\", stringnoz]"}, FldName: "obj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_role\", stringnoz]"}, FldName: "obj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"obj_type\", stringnoz]"}, FldName: "obj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_user\", stringnoz]"}, FldName: "subj_user"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_role\", stringnoz]"}, FldName: "subj_role"}, + &StructType{Key: StructKey{Name: "fs_opt[\"subj_type\", stringnoz]"}, FldName: "subj_type"}, + &StructType{Key: StructKey{Name: "fs_opt[\"func\", stringnoz[ima_funcs]]"}, FldName: "func"}, + &StructType{Key: StructKey{Name: "fs_opt[\"mask\", stringnoz[ima_masks]]"}, FldName: "mask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsmagic\", fmt[hex, intptr]]"}, FldName: "fsmagic"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsname\", stringnoz]"}, FldName: "fsname"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fsuuid\", uuid_str]"}, FldName: "fsuuid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", fmt[dec, uid]]"}, FldName: "uid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"euid\", fmt[dec, uid]]"}, FldName: "euid_eq"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fowner\", fmt[dec, uid]]"}, FldName: "fowner_eq"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid>\", fmt[dec, uid]]"}, FldName: "uid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid>\", fmt[dec, uid]]"}, FldName: "euid_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner>\", fmt[dec, uid]]"}, FldName: "fowner_gt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"uid<\", fmt[dec, uid]]"}, FldName: "uid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"euid<\", fmt[dec, uid]]"}, FldName: "euid_lt"}, + &StructType{Key: StructKey{Name: "fs_opt_nodelim[\"fowner<\", fmt[dec, uid]]"}, FldName: "fowner_lt"}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "appraise_type", TypeSize: 20}, Kind: 2, Values: []string{"appraise_type=imasig"}, NoZ: true}, + &StructType{Key: StructKey{Name: "fs_opt[\"pcr\", fmt[dec, int64[0:64]]]"}, FldName: "pcr"}, }}}, {Key: StructKey{Name: "fscrypt_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy", TypeSize: 12}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -19244,6 +19373,17 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "actime", TypeSize: 8}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "modtime", TypeSize: 8}}}, }}}, + {Key: StructKey{Name: "uuid_str"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uuid_str", TypeSize: 32}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p0", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d0", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p1", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d1", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p2", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d2", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p3", TypeSize: 4}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "d3", TypeSize: 1}}, Val: 45}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "p4", TypeSize: 8}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "hex_chars", TypeSize: 1}}, Vals: []uint64{48, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102}}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, + }}}, {Key: StructKey{Name: "veth_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "veth_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[VETH_INFO_PEER, int16], ifinfomsg[AF_UNSPEC]]"}, FldName: "VETH_INFO_PEER"}, }}}, @@ -38592,4 +38732,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "e890f4cbfb308d986890f0ac52962cba5e9ef922" +const revision_ppc64le = "8afa0853ccd1c8eb144790312a22085146709af5" |
