diff options
| author | Eric Biggers <ebiggers@google.com> | 2019-11-25 17:06:15 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-26 11:34:30 +0100 |
| commit | f72ffd024df9098b2d787d0107295a9669481cc9 (patch) | |
| tree | 13c95b78165c9eb56ff68090da7a29c8c2f0afc1 /sys/linux/gen/amd64.go | |
| parent | 2649e7ccc4893a6006c8636daccdcae5afb3e8c6 (diff) | |
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.
Diffstat (limited to 'sys/linux/gen/amd64.go')
| -rw-r--r-- | sys/linux/gen/amd64.go | 9 |
1 files changed, 5 insertions, 4 deletions
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" |
