Skip to content

Commit cf6e1c5

Browse files
committed
seccomp: whitelist quotactl with CAP_SYS_ADMIN
The quotactl syscall is being whitelisted in default seccomp profile, gated by CAP_SYS_ADMIN. Signed-off-by: Panagiotis Moustafellos <[email protected]>
1 parent 526fc40 commit cf6e1c5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

profiles/seccomp/default.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@
557557
"mount",
558558
"name_to_handle_at",
559559
"perf_event_open",
560+
"quotactl",
560561
"setdomainname",
561562
"sethostname",
562563
"setns",

profiles/seccomp/seccomp_default.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ func DefaultProfile() *types.Seccomp {
488488
"mount",
489489
"name_to_handle_at",
490490
"perf_event_open",
491+
"quotactl",
491492
"setdomainname",
492493
"sethostname",
493494
"setns",

0 commit comments

Comments
 (0)