Skip to content

Commit 3d62d97

Browse files
committed
profiles: seccomp: allow clock_settime when CAP_SYS_TIME is added
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
1 parent 6774275 commit 3d62d97

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

profiles/seccomp/default.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,8 @@
668668
"names": [
669669
"settimeofday",
670670
"stime",
671-
"adjtimex"
671+
"adjtimex",
672+
"clock_settime"
672673
],
673674
"action": "SCMP_ACT_ALLOW",
674675
"args": [],

profiles/seccomp/seccomp_default.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ func DefaultProfile() *types.Seccomp {
577577
"settimeofday",
578578
"stime",
579579
"adjtimex",
580+
"clock_settime",
580581
},
581582
Action: types.ActAllow,
582583
Args: []*types.Arg{},

0 commit comments

Comments
 (0)