From f72ffd024df9098b2d787d0107295a9669481cc9 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 25 Nov 2019 17:06:15 -0800 Subject: sys/linux/fscrypt.txt: add FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 This flag is new in 5.5. Also add a link to the fscrypt API documentation. --- sys/linux/gen/amd64.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys/linux/gen/amd64.go') diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index c6e3d226b..863fbcd10 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -6225,19 +6225,19 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "fscrypt_policy_v1"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "fscrypt_policy_v1", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v1", TypeSize: 12, ArgDir: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1, ArgDir: 1}}}, &UnionType{Key: StructKey{Name: "fscrypt_policy_modes", Dir: 1}, FldName: "modes"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1, ArgDir: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_descriptor", TypeSize: 8, ArgDir: 1}, Kind: 1, RangeBegin: 8, RangeEnd: 8}, }}}, {Key: StructKey{Name: "fscrypt_policy_v2"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_v2", TypeSize: 24}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}, Val: 2}, &UnionType{Key: StructKey{Name: "fscrypt_policy_modes"}, FldName: "modes"}, - &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fscrypt_policy_flags", FldName: "flags", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 8}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "master_key_identifier", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, }}}, @@ -49640,6 +49640,7 @@ var consts_amd64 = []ConstValue{ {Name: "FSCRYPT_POLICY_FLAGS_PAD_4"}, {Name: "FSCRYPT_POLICY_FLAGS_PAD_8", Value: 1}, {Name: "FSCRYPT_POLICY_FLAG_DIRECT_KEY", Value: 4}, + {Name: "FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64", Value: 8}, {Name: "FSLABEL_MAX", Value: 256}, {Name: "FSMAP_SIZE", Value: 64}, {Name: "FSMOUNT_CLOEXEC", Value: 1}, @@ -56463,4 +56464,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "563f1b5d9502687a98e66246c411d98fc9fb1656" +const revision_amd64 = "d39d2d5ebff24446c5c0967745361523f7bf74d5" -- cgit mrf-deployment