summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/capability.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-05-04 09:38:35 -0700
committerShentubot <shentubot@google.com>2018-05-04 09:39:28 -0700
commitc90fefc1161c58af34856aff7b7012f19f5d1f1b (patch)
treeba362b570d0d8e7cf57c40c80179cbbf2b7144bb /runsc/boot/capability.go
parent7e82550bf7a383d0aa3b3c4c8107bc32816ca5d5 (diff)
Fix runsc capabilities
There was a typo and one new capability missing from the list PiperOrigin-RevId: 195427713 Change-Id: I6d9e1c6e77b48fe85ef10d9f54c70c8a7271f6e7
Diffstat (limited to 'runsc/boot/capability.go')
-rw-r--r--runsc/boot/capability.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/runsc/boot/capability.go b/runsc/boot/capability.go
index 4c6a59245..efa28fb97 100644
--- a/runsc/boot/capability.go
+++ b/runsc/boot/capability.go
@@ -91,7 +91,7 @@ var capFromName = map[string]capability.Cap{
"CAP_SETPCAP": capability.CAP_SETPCAP,
"CAP_LINUX_IMMUTABLE": capability.CAP_LINUX_IMMUTABLE,
"CAP_NET_BIND_SERVICE": capability.CAP_NET_BIND_SERVICE,
- "CAP_NET_BROAD_CAST": capability.CAP_NET_BROADCAST,
+ "CAP_NET_BROADCAST": capability.CAP_NET_BROADCAST,
"CAP_NET_ADMIN": capability.CAP_NET_ADMIN,
"CAP_NET_RAW": capability.CAP_NET_RAW,
"CAP_IPC_LOCK": capability.CAP_IPC_LOCK,
@@ -117,4 +117,5 @@ var capFromName = map[string]capability.Cap{
"CAP_SYSLOG": capability.CAP_SYSLOG,
"CAP_WAKE_ALARM": capability.CAP_WAKE_ALARM,
"CAP_BLOCK_SUSPEND": capability.CAP_BLOCK_SUSPEND,
+ "CAP_AUDIT_READ": capability.CAP_AUDIT_READ,
}