From 9636bc933e06475902e46750d5f5198fb9c2ff7a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 6 Jul 2018 15:29:52 +0200 Subject: sys/linux: add mount$bpf Plus some minor assorted fixes. --- sys/linux/gen/386.go | 77 +++++++++++++++++++++++++++++++++--------------- sys/linux/gen/amd64.go | 77 +++++++++++++++++++++++++++++++++--------------- sys/linux/gen/arm.go | 77 +++++++++++++++++++++++++++++++++--------------- sys/linux/gen/arm64.go | 77 +++++++++++++++++++++++++++++++++--------------- sys/linux/gen/ppc64le.go | 77 +++++++++++++++++++++++++++++++++--------------- 5 files changed, 270 insertions(+), 115 deletions(-) (limited to 'sys/linux/gen') diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 21dc3d9e4..997d9dec5 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -815,6 +815,9 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "bpf_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, FldName: "mode"}, + }}}, {Key: StructKey{Name: "bpf_prog"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_prog", TypeSize: 72}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "ninsn", TypeSize: 4}}, BitSize: 64, Buf: "insns"}, @@ -3455,7 +3458,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits_suffix", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 107, 109, 103, 116, 112, 101}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 11}, Kind: 2, Values: []string{"allow_utime"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3535,7 +3538,7 @@ 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[\"dir_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"dir_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3555,7 +3558,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"dmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3565,12 +3568,12 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 10}, Kind: 2, Values: []string{"file_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, }}}, - {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"fmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3580,7 +3583,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3705,6 +3708,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mode\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mode"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, + }}}, {Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"nls\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"nls"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3840,7 +3848,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3850,7 +3858,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3870,6 +3878,10 @@ 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, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3914,6 +3926,14 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "vfat_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[xfs_options]", IsVarlen: true}, Fields: []Type{ + &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_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]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[btrfs_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -3958,6 +3978,10 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[vfat_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[xfs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -4377,9 +4401,9 @@ var structDescs_386 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "hfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quiet", TypeSize: 5}, Kind: 2, Values: []string{"quiet"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, FldName: "file_umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]"}, FldName: "dir_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, FldName: "file_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, FldName: "dir_umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, &StructType{Key: StructKey{Name: "fs_opt[\"part\", array[flags[fs_opt_digits, int8]]]"}, FldName: "part"}, @@ -4395,7 +4419,7 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "barrier", TypeSize: 7}, Kind: 2, Values: []string{"barrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "force", TypeSize: 5}, Kind: 2, Values: []string{"force"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"type\", array[int8, 4]]"}, FldName: "type"}, &StructType{Key: StructKey{Name: "fs_opt[\"creator\", array[int8, 4]]"}, FldName: "creator"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, @@ -12556,9 +12580,9 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, &StructType{Key: StructKey{Name: "fs_opt[\"mft_zone_multiplier\", array[flags[fs_opt_digits, int8]]]"}, FldName: "mft_zone_multiplier"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=no\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_no"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=yes\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_yes"}, @@ -17556,12 +17580,12 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs", TypeSize: 3}, Kind: 2, Values: []string{"nfs"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_nostale_ro", TypeSize: 14}, Kind: 2, Values: []string{"nfs=nostale_ro"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dos1xfloppy", TypeSize: 11}, Kind: 2, Values: []string{"dos1xfloppy"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, FldName: "uid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, FldName: "allow_utime"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, FldName: "uid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, FldName: "gid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, FldName: "allow_utime"}, &StructType{Key: StructKey{Name: "fs_opt[\"time_offset\", array[flags[fs_opt_digits, int8]]]"}, FldName: "time_offset"}, &StructType{Key: StructKey{Name: "fs_opt[\"codepage\", stringnoz[codepage_nums]]"}, FldName: "codepage"}, }}}, @@ -26576,6 +26600,13 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 4, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 21, Name: "mount$bpf", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 4}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"bpf\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[bpf_options]"}}}, + }}, {NR: 317, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "pages"}, @@ -30449,7 +30480,7 @@ var syscalls_386 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 4}}, Buf: "segments"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "xfs_options"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[xfs_options]"}}}, }}, {Name: "syz_open_dev$CDROM_DEV_LINK", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"/dev/cdrom\x00"}}}, @@ -37095,4 +37126,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "7c3b92654cfa280739a2cab1908dd7fbafba5a74" +const revision_386 = "70b295f1a545559789eb83853bb3909e07a60615" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index d6a5d52c3..749a60749 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -823,6 +823,9 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "bpf_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, FldName: "mode"}, + }}}, {Key: StructKey{Name: "bpf_prog"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_prog", TypeSize: 72}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "ninsn", TypeSize: 4}}, BitSize: 64, Buf: "insns"}, @@ -3541,7 +3544,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits_suffix", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 107, 109, 103, 116, 112, 101}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 11}, Kind: 2, Values: []string{"allow_utime"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3621,7 +3624,7 @@ 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[\"dir_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"dir_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3641,7 +3644,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"dmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3651,12 +3654,12 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 10}, Kind: 2, Values: []string{"file_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, }}}, - {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"fmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3666,7 +3669,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3791,6 +3794,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mode\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mode"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, + }}}, {Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"nls\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"nls"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3926,7 +3934,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3936,7 +3944,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3956,6 +3964,10 @@ 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, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4000,6 +4012,14 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "vfat_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[xfs_options]", IsVarlen: true}, Fields: []Type{ + &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_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]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[btrfs_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4044,6 +4064,10 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[vfat_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[xfs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -4470,9 +4494,9 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "hfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quiet", TypeSize: 5}, Kind: 2, Values: []string{"quiet"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, FldName: "file_umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]"}, FldName: "dir_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, FldName: "file_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, FldName: "dir_umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, &StructType{Key: StructKey{Name: "fs_opt[\"part\", array[flags[fs_opt_digits, int8]]]"}, FldName: "part"}, @@ -4488,7 +4512,7 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "barrier", TypeSize: 7}, Kind: 2, Values: []string{"barrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "force", TypeSize: 5}, Kind: 2, Values: []string{"force"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"type\", array[int8, 4]]"}, FldName: "type"}, &StructType{Key: StructKey{Name: "fs_opt[\"creator\", array[int8, 4]]"}, FldName: "creator"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, @@ -12774,9 +12798,9 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, &StructType{Key: StructKey{Name: "fs_opt[\"mft_zone_multiplier\", array[flags[fs_opt_digits, int8]]]"}, FldName: "mft_zone_multiplier"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=no\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_no"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=yes\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_yes"}, @@ -17881,12 +17905,12 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs", TypeSize: 3}, Kind: 2, Values: []string{"nfs"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_nostale_ro", TypeSize: 14}, Kind: 2, Values: []string{"nfs=nostale_ro"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dos1xfloppy", TypeSize: 11}, Kind: 2, Values: []string{"dos1xfloppy"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, FldName: "uid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, FldName: "allow_utime"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, FldName: "uid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, FldName: "gid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, FldName: "allow_utime"}, &StructType{Key: StructKey{Name: "fs_opt[\"time_offset\", array[flags[fs_opt_digits, int8]]]"}, FldName: "time_offset"}, &StructType{Key: StructKey{Name: "fs_opt[\"codepage\", stringnoz[codepage_nums]]"}, FldName: "codepage"}, }}}, @@ -27039,6 +27063,13 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 8, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 165, Name: "mount$bpf", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"bpf\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[bpf_options]"}}}, + }}, {NR: 279, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -31111,7 +31142,7 @@ var syscalls_amd64 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 8}}, Buf: "segments"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xfs_options"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[xfs_options]"}}}, }}, {Name: "syz_open_dev$CDROM_DEV_LINK", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"/dev/cdrom\x00"}}}, @@ -37782,4 +37813,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "9b691ef1ad3871279dddf35bbadcb13736803e01" +const revision_amd64 = "09c93afce4c1b5753d5a4089a40d0f59fd6d1fe4" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 5bcc80fa4..b1404a762 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -820,6 +820,9 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "bpf_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, FldName: "mode"}, + }}}, {Key: StructKey{Name: "bpf_prog"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_prog", TypeSize: 72}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "ninsn", TypeSize: 4}}, BitSize: 64, Buf: "insns"}, @@ -3460,7 +3463,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits_suffix", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 107, 109, 103, 116, 112, 101}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 11}, Kind: 2, Values: []string{"allow_utime"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3540,7 +3543,7 @@ 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[\"dir_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"dir_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3560,7 +3563,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"dmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3570,12 +3573,12 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 10}, Kind: 2, Values: []string{"file_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, }}}, - {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"fmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3585,7 +3588,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3710,6 +3713,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mode\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mode"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, + }}}, {Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"nls\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"nls"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3845,7 +3853,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3855,7 +3863,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3875,6 +3883,10 @@ 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, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3919,6 +3931,14 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "vfat_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[xfs_options]", IsVarlen: true}, Fields: []Type{ + &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_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]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[btrfs_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -3963,6 +3983,10 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[vfat_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[xfs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -4382,9 +4406,9 @@ var structDescs_arm = []*KeyedStruct{ }}}, {Key: StructKey{Name: "hfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quiet", TypeSize: 5}, Kind: 2, Values: []string{"quiet"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, FldName: "file_umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]"}, FldName: "dir_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, FldName: "file_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, FldName: "dir_umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, &StructType{Key: StructKey{Name: "fs_opt[\"part\", array[flags[fs_opt_digits, int8]]]"}, FldName: "part"}, @@ -4400,7 +4424,7 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "barrier", TypeSize: 7}, Kind: 2, Values: []string{"barrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "force", TypeSize: 5}, Kind: 2, Values: []string{"force"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"type\", array[int8, 4]]"}, FldName: "type"}, &StructType{Key: StructKey{Name: "fs_opt[\"creator\", array[int8, 4]]"}, FldName: "creator"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, @@ -12399,9 +12423,9 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, &StructType{Key: StructKey{Name: "fs_opt[\"mft_zone_multiplier\", array[flags[fs_opt_digits, int8]]]"}, FldName: "mft_zone_multiplier"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=no\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_no"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=yes\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_yes"}, @@ -17409,12 +17433,12 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs", TypeSize: 3}, Kind: 2, Values: []string{"nfs"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_nostale_ro", TypeSize: 14}, Kind: 2, Values: []string{"nfs=nostale_ro"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dos1xfloppy", TypeSize: 11}, Kind: 2, Values: []string{"dos1xfloppy"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, FldName: "uid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, FldName: "allow_utime"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, FldName: "uid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, FldName: "gid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, FldName: "allow_utime"}, &StructType{Key: StructKey{Name: "fs_opt[\"time_offset\", array[flags[fs_opt_digits, int8]]]"}, FldName: "time_offset"}, &StructType{Key: StructKey{Name: "fs_opt[\"codepage\", stringnoz[codepage_nums]]"}, FldName: "codepage"}, }}}, @@ -26302,6 +26326,13 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 4, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 21, Name: "mount$bpf", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 4}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"bpf\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[bpf_options]"}}}, + }}, {NR: 344, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 4}}, Buf: "pages"}, @@ -30364,7 +30395,7 @@ var syscalls_arm = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 4}}, Buf: "segments"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "xfs_options"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fs_options[xfs_options]"}}}, }}, {Name: "syz_open_dev$CDROM_DEV_LINK", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"/dev/cdrom\x00"}}}, @@ -36953,4 +36984,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "2d48f7b04fa6aa40cf950630cc96b02d6a248012" +const revision_arm = "a396da016f3f7925820e5eceae43d819dac7948e" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 12d42df79..11b323d6c 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -823,6 +823,9 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "bpf_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, FldName: "mode"}, + }}}, {Key: StructKey{Name: "bpf_prog"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_prog", TypeSize: 72}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "ninsn", TypeSize: 4}}, BitSize: 64, Buf: "insns"}, @@ -3541,7 +3544,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits_suffix", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 107, 109, 103, 116, 112, 101}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 11}, Kind: 2, Values: []string{"allow_utime"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3621,7 +3624,7 @@ 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[\"dir_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"dir_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3641,7 +3644,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"dmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3651,12 +3654,12 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 10}, Kind: 2, Values: []string{"file_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, }}}, - {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"fmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3666,7 +3669,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3791,6 +3794,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mode\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mode"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, + }}}, {Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"nls\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"nls"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3926,7 +3934,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3936,7 +3944,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3956,6 +3964,10 @@ 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, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -4000,6 +4012,14 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "vfat_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[xfs_options]", IsVarlen: true}, Fields: []Type{ + &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_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]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[btrfs_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4044,6 +4064,10 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[vfat_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[xfs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -4470,9 +4494,9 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {Key: StructKey{Name: "hfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quiet", TypeSize: 5}, Kind: 2, Values: []string{"quiet"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, FldName: "file_umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]"}, FldName: "dir_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, FldName: "file_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, FldName: "dir_umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, &StructType{Key: StructKey{Name: "fs_opt[\"part\", array[flags[fs_opt_digits, int8]]]"}, FldName: "part"}, @@ -4488,7 +4512,7 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "barrier", TypeSize: 7}, Kind: 2, Values: []string{"barrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "force", TypeSize: 5}, Kind: 2, Values: []string{"force"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"type\", array[int8, 4]]"}, FldName: "type"}, &StructType{Key: StructKey{Name: "fs_opt[\"creator\", array[int8, 4]]"}, FldName: "creator"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, @@ -12579,9 +12603,9 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, &StructType{Key: StructKey{Name: "fs_opt[\"mft_zone_multiplier\", array[flags[fs_opt_digits, int8]]]"}, FldName: "mft_zone_multiplier"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=no\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_no"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=yes\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_yes"}, @@ -17647,12 +17671,12 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs", TypeSize: 3}, Kind: 2, Values: []string{"nfs"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_nostale_ro", TypeSize: 14}, Kind: 2, Values: []string{"nfs=nostale_ro"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dos1xfloppy", TypeSize: 11}, Kind: 2, Values: []string{"dos1xfloppy"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, FldName: "uid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, FldName: "allow_utime"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, FldName: "uid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, FldName: "gid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, FldName: "allow_utime"}, &StructType{Key: StructKey{Name: "fs_opt[\"time_offset\", array[flags[fs_opt_digits, int8]]]"}, FldName: "time_offset"}, &StructType{Key: StructKey{Name: "fs_opt[\"codepage\", stringnoz[codepage_nums]]"}, FldName: "codepage"}, }}}, @@ -26582,6 +26606,13 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 8, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 40, Name: "mount$bpf", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"bpf\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[bpf_options]"}}}, + }}, {NR: 239, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -30582,7 +30613,7 @@ var syscalls_arm64 = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 8}}, Buf: "segments"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xfs_options"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[xfs_options]"}}}, }}, {Name: "syz_open_dev$CDROM_DEV_LINK", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"/dev/cdrom\x00"}}}, @@ -37147,4 +37178,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "e0996c58f44d1178a9173f9c61fc9868155e4f7f" +const revision_arm64 = "664998504b047f3f7cd626048e96cc61ba18e310" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 9ac062fe1..a99e2b0e3 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -814,6 +814,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "bpf_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_options", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, FldName: "mode"}, + }}}, {Key: StructKey{Name: "bpf_prog"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "bpf_prog", TypeSize: 72}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bpf_prog_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "ninsn", TypeSize: 4}}, BitSize: 64, Buf: "insns"}, @@ -3532,7 +3535,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits_suffix", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 107, 109, 103, 116, 112, 101}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"allow_utime\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 11}, Kind: 2, Values: []string{"allow_utime"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3612,7 +3615,7 @@ 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[\"dir_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dir_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 9}, Kind: 2, Values: []string{"dir_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3632,7 +3635,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"dmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"dmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3642,12 +3645,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"file_umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 10}, Kind: 2, Values: []string{"file_umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, }}}, - {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"fmask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"fmask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3657,7 +3660,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"gid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3782,6 +3785,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, + {Key: StructKey{Name: "fs_opt[\"mode\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"mode\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 4}, Kind: 2, Values: []string{"mode"}, NoZ: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, + }}}, {Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"nls\", stringnoz[codepages_names]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 3}, Kind: 2, Values: []string{"nls"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, @@ -3917,7 +3925,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"uid\", array[int8['0':'7']]]", IsVarlen: true}, 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}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3927,7 +3935,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fs_opt_digits", TypeSize: 1}}, Vals: []uint64{45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}}}, }}}, - {Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8[0x30:0x37]]]", IsVarlen: true}, Fields: []Type{ + {Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt[\"umask\", array[int8['0':'7']]]", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "name", TypeSize: 5}, Kind: 2, Values: []string{"umask"}, NoZ: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "eq", TypeSize: 1}}, Val: 61}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "val", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}, Kind: 2, RangeBegin: 48, RangeEnd: 55}}, @@ -3947,6 +3955,10 @@ 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, NoZ: true}, }}}, + {Key: StructKey{Name: "fs_opt_elem[bpf_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[bpf_options]", IsVarlen: true}, Fields: []Type{ + &UnionType{Key: StructKey{Name: "bpf_options"}, FldName: "elem"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, + }}}, {Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[btrfs_options]", IsVarlen: true}, Fields: []Type{ &UnionType{Key: StructKey{Name: "btrfs_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, @@ -3991,6 +4003,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "vfat_options"}, FldName: "elem"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comma", TypeSize: 1}}, Val: 44}, }}}, + {Key: StructKey{Name: "fs_opt_elem[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_opt_elem[xfs_options]", IsVarlen: true}, Fields: []Type{ + &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_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]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fs_options[btrfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[btrfs_options]", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[btrfs_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, @@ -4035,6 +4055,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[vfat_options]"}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, }}}, + {Key: StructKey{Name: "fs_options[xfs_options]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fs_options[xfs_options]", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "elems", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_opt_elem[xfs_options]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "null", TypeSize: 1}}}, + }}}, {Key: StructKey{Name: "fsxattr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fsxattr", TypeSize: 32}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_xflags", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsx_extsize", TypeSize: 4}}}, @@ -4461,9 +4485,9 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {Key: StructKey{Name: "hfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "hfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "quiet", TypeSize: 5}, Kind: 2, Values: []string{"quiet"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8[0x30:0x37]]]"}, FldName: "file_umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8[0x30:0x37]]]"}, FldName: "dir_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"file_umask\", array[int8['0':'7']]]"}, FldName: "file_umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dir_umask\", array[int8['0':'7']]]"}, FldName: "dir_umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, &StructType{Key: StructKey{Name: "fs_opt[\"part\", array[flags[fs_opt_digits, int8]]]"}, FldName: "part"}, @@ -4479,7 +4503,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "barrier", TypeSize: 7}, Kind: 2, Values: []string{"barrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nobarrier", TypeSize: 9}, Kind: 2, Values: []string{"nobarrier"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "force", TypeSize: 5}, Kind: 2, Values: []string{"force"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, &StructType{Key: StructKey{Name: "fs_opt[\"type\", array[int8, 4]]"}, FldName: "type"}, &StructType{Key: StructKey{Name: "fs_opt[\"creator\", array[int8, 4]]"}, FldName: "creator"}, &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, @@ -12531,9 +12555,9 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "ntfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ntfs_options", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "uid"}, &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[flags[fs_opt_digits, int8]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, &StructType{Key: StructKey{Name: "fs_opt[\"mft_zone_multiplier\", array[flags[fs_opt_digits, int8]]]"}, FldName: "mft_zone_multiplier"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=no\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_no"}, &StructType{Key: StructKey{Name: "fs_opt[\"show_sys_files=yes\", array[flags[fs_opt_digits, int8]]]"}, FldName: "show_sys_files_yes"}, @@ -16726,12 +16750,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs", TypeSize: 3}, Kind: 2, Values: []string{"nfs"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "nfs_nostale_ro", TypeSize: 14}, Kind: 2, Values: []string{"nfs=nostale_ro"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "dos1xfloppy", TypeSize: 11}, Kind: 2, Values: []string{"dos1xfloppy"}, NoZ: true}, - &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8[0x30:0x37]]]"}, FldName: "uid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8[0x30:0x37]]]"}, FldName: "gid"}, - &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8[0x30:0x37]]]"}, FldName: "umask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8[0x30:0x37]]]"}, FldName: "dmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8[0x30:0x37]]]"}, FldName: "fmask"}, - &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8[0x30:0x37]]]"}, FldName: "allow_utime"}, + &StructType{Key: StructKey{Name: "fs_opt[\"uid\", array[int8['0':'7']]]"}, FldName: "uid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"gid\", array[int8['0':'7']]]"}, FldName: "gid"}, + &StructType{Key: StructKey{Name: "fs_opt[\"umask\", array[int8['0':'7']]]"}, FldName: "umask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"dmask\", array[int8['0':'7']]]"}, FldName: "dmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"fmask\", array[int8['0':'7']]]"}, FldName: "fmask"}, + &StructType{Key: StructKey{Name: "fs_opt[\"allow_utime\", array[int8['0':'7']]]"}, FldName: "allow_utime"}, &StructType{Key: StructKey{Name: "fs_opt[\"time_offset\", array[flags[fs_opt_digits, int8]]]"}, FldName: "time_offset"}, &StructType{Key: StructKey{Name: "fs_opt[\"codepage\", stringnoz[codepage_nums]]"}, FldName: "codepage"}, }}}, @@ -25170,6 +25194,13 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 8, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, }}, + {NR: 21, Name: "mount$bpf", CallName: "mount", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src", TypeSize: 8}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dst", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", IsVarlen: true}, Kind: 3}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"bpf\x00"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[bpf_options]"}}}, + }}, {NR: 301, Name: "move_pages", CallName: "move_pages", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", TypeSize: 4}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nr", TypeSize: 8}}, Buf: "pages"}, @@ -29028,7 +29059,7 @@ var syscalls_ppc64le = []*Syscall{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nsegs", TypeSize: 8}}, Buf: "segments"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "segments", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "fs_image_segment"}}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mount_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{4096, 128, 64, 8192, 1024, 4, 2048, 8, 2, 1, 2097152, 32, 32768, 16777216, 16, 16384, 65536, 131072, 262144, 524288, 1048576, 8388608, 33554432}, BitMask: true}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "xfs_options"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "opts", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fs_options[xfs_options]"}}}, }}, {Name: "syz_open_dev$CDROM_DEV_LINK", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 11}, Kind: 2, Values: []string{"/dev/cdrom\x00"}}}, @@ -34578,4 +34609,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "e810a038c6e7e93c823407bb0a01ba0d48281b55" +const revision_ppc64le = "08aad7ac72c71a5be51593af085b0358875e488b" -- cgit mrf-deployment