Skip to content

Commit fd3aef5

Browse files
authoredMar 21, 2017
Merge pull request moby#31966 from runcom/seccomp-clock-settime
profiles: seccomp: allow clock_settime when CAP_SYS_TIME is added
2 parents afe1c5c + 3ab4961 commit fd3aef5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎profiles/seccomp/default.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,8 @@
900900
"names": [
901901
"settimeofday",
902902
"stime",
903-
"adjtimex"
903+
"adjtimex",
904+
"clock_settime"
904905
],
905906
"action": "SCMP_ACT_ALLOW",
906907
"args": [],

‎profiles/seccomp/seccomp_default.go

+1
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@ func DefaultProfile() *types.Seccomp {
735735
"settimeofday",
736736
"stime",
737737
"adjtimex",
738+
"clock_settime",
738739
},
739740
Action: types.ActAllow,
740741
Args: []*types.Arg{},

0 commit comments

Comments
 (0)
Please sign in to comment.