aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/amd64.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-18 19:50:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-18 20:00:38 +0100
commitff722179dad27def48672e5c1a34883eac979161 (patch)
treee611df5718fc513ad7ca865647e5be8ab07d8293 /sys/linux/amd64.go
parentb7f99b54aef0b9663286a56f268f7c0833391265 (diff)
sys/linux: make xattr prefix non-zero-terminated
Diffstat (limited to 'sys/linux/amd64.go')
-rw-r--r--sys/linux/amd64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go
index 0aa53e613..ce3176f35 100644
--- a/sys/linux/amd64.go
+++ b/sys/linux/amd64.go
@@ -8553,7 +8553,7 @@ var structDescs_amd64 = []*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{
@@ -21218,4 +21218,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "fb8927bec4fbd62efbc5e7a58e6dc8d4d1b5a57f"
+const revision_amd64 = "8ffaa0148f8639607b600ebab1f0f7aeaa427881"