summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-06-11 01:30:30 +0000
committergVisor bot <gvisor-bot@google.com>2021-06-11 01:30:30 +0000
commit0d2edb68bf1efe7b672eee7409fe57c4527d0470 (patch)
tree461dc1cf7281f4d64df2cf554d117592829ac2da /pkg/abi
parent74078c0009e28f826e64d2adb28ce0412e6120ea (diff)
parent0892420c9796358da06ea3ba375ee3e0fa8595ac (diff)
Merge release-20210601.0-47-g0892420c9 (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/xattr.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/abi/linux/xattr.go b/pkg/abi/linux/xattr.go
index 8ef837f27..1fa7a4f4f 100644
--- a/pkg/abi/linux/xattr.go
+++ b/pkg/abi/linux/xattr.go
@@ -23,6 +23,12 @@ const (
XATTR_CREATE = 1
XATTR_REPLACE = 2
+ XATTR_SECURITY_PREFIX = "security."
+ XATTR_SECURITY_PREFIX_LEN = len(XATTR_SECURITY_PREFIX)
+
+ XATTR_SYSTEM_PREFIX = "system."
+ XATTR_SYSTEM_PREFIX_LEN = len(XATTR_SYSTEM_PREFIX)
+
XATTR_TRUSTED_PREFIX = "trusted."
XATTR_TRUSTED_PREFIX_LEN = len(XATTR_TRUSTED_PREFIX)