From ff722179dad27def48672e5c1a34883eac979161 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 18 Jan 2018 19:50:12 +0100 Subject: sys/linux: make xattr prefix non-zero-terminated --- sys/linux/arm64.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux/arm64.go') diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go index f40f25481..efe3c8d26 100644 --- a/sys/linux/arm64.go +++ b/sys/linux/arm64.go @@ -8329,7 +8329,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "xattr_name_random"}, FldName: "random"}, }}}, {Key: StructKey{Name: "xattr_name_random"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsVarlen: true}, Fields: []Type{ - &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "prefix", IsVarlen: true}, Kind: 2, SubKind: "xattr_prefix", Values: []string{"system.\x00", "trusted.\x00", "security.\x00", "user.\x00", "btrfs.\x00", "osx.\x00", "os2.\x00"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "prefix", IsVarlen: true}, Kind: 2, SubKind: "xattr_prefix", Values: []string{"system.", "trusted.", "security.", "user.", "btrfs.", "osx.", "os2."}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", IsVarlen: true}, Kind: 2}, }}}, {Key: StructKey{Name: "xfrm_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xfrm_address", TypeSize: 16}, Fields: []Type{ @@ -20600,4 +20600,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "a1f85424b353c596442d2373f51acf9b456fae4d" +const revision_arm64 = "b4fad1c5cb320123045ed497a3417b923459026a" -- cgit mrf-deployment