mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
22 lines
436 B
Go
22 lines
436 B
Go
|
package caps // import "github.com/docker/docker/oci/caps"
|
||
|
|
||
|
// DefaultCapabilities returns a Linux kernel default capabilities
|
||
|
func DefaultCapabilities() []string {
|
||
|
return []string{
|
||
|
"CAP_CHOWN",
|
||
|
"CAP_DAC_OVERRIDE",
|
||
|
"CAP_FSETID",
|
||
|
"CAP_FOWNER",
|
||
|
"CAP_MKNOD",
|
||
|
"CAP_NET_RAW",
|
||
|
"CAP_SETGID",
|
||
|
"CAP_SETUID",
|
||
|
"CAP_SETFCAP",
|
||
|
"CAP_SETPCAP",
|
||
|
"CAP_NET_BIND_SERVICE",
|
||
|
"CAP_SYS_CHROOT",
|
||
|
"CAP_KILL",
|
||
|
"CAP_AUDIT_WRITE",
|
||
|
}
|
||
|
}
|