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 /sys/linux/gen/amd64.go | |
| parent | db716d6653d073b0abfb51186cd4ac2d5418c9c6 (diff) | |
sys/linux: add IMA mount options
Diffstat (limited to 'sys/linux/gen/amd64.go')
| -rw-r--r-- | sys/linux/gen/amd64.go | 142 |
1 files changed, 141 insertions, 1 deletions
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" |
