Whitelisting adjtimex get time operation and requiring CAP_SYS_TIME only in case of adjustment
@@ -55,6 +55,7 @@
"accept",
"accept4",
"access",
+ "adjtimex",
"alarm",
"bind",
@@ -719,7 +720,6 @@
"names": [
"settimeofday",
"stime",
- "adjtimex",
"clock_settime"
],
"action": "SCMP_ACT_ALLOW",
@@ -49,6 +49,7 @@ func DefaultProfile() *types.Seccomp {
@@ -611,7 +612,6 @@ func DefaultProfile() *types.Seccomp {
Names: []string{
"clock_settime",
},
Action: types.ActAllow,