Merge pull request #31966 from runcom/seccomp-clock-settime

profiles: seccomp: allow clock_settime when CAP_SYS_TIME is added
This commit is contained in:
Sebastiaan van Stijn 2017-03-21 20:22:22 +01:00 committed by GitHub
commit fd3aef5ec2
2 changed files with 3 additions and 1 deletions

View File

@ -900,7 +900,8 @@
"names": [
"settimeofday",
"stime",
"adjtimex"
"adjtimex",
"clock_settime"
],
"action": "SCMP_ACT_ALLOW",
"args": [],

View File

@ -735,6 +735,7 @@ func DefaultProfile() *types.Seccomp {
"settimeofday",
"stime",
"adjtimex",
"clock_settime",
},
Action: types.ActAllow,
Args: []*types.Arg{},