Skip to content

Commit bf28e72

Browse files
author
Mrunal Patel
authored
Merge pull request #363 from q384566678/cap-remove
validate: delete the extra defaultCaps
2 parents 18a122b + f44ca53 commit bf28e72

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

validate/validate.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,6 @@ var (
4040
"RLIMIT_SIGPENDING",
4141
"RLIMIT_STACK",
4242
}
43-
defaultCaps = []string{
44-
"CAP_CHOWN",
45-
"CAP_DAC_OVERRIDE",
46-
"CAP_FSETID",
47-
"CAP_FOWNER",
48-
"CAP_MKNOD",
49-
"CAP_NET_RAW",
50-
"CAP_SETGID",
51-
"CAP_SETUID",
52-
"CAP_SETFCAP",
53-
"CAP_SETPCAP",
54-
"CAP_NET_BIND_SERVICE",
55-
"CAP_SYS_CHROOT",
56-
"CAP_KILL",
57-
"CAP_AUDIT_WRITE",
58-
}
5943
)
6044

6145
// Validator represents a validator for runtime bundle

0 commit comments

Comments
 (0)