seccomp: allow clock_settime64 when CAP_SYS_TIME is added

Port moby/moby PR 43775

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2022-07-11 10:04:13 +09:00
parent 681aaf68b7
commit 575095fcd6
No known key found for this signature in database
GPG Key ID: 49524C6F9F638F1A

View File

@ -641,6 +641,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
"settimeofday", "settimeofday",
"stime", "stime",
"clock_settime", "clock_settime",
"clock_settime64",
}, },
Action: specs.ActAllow, Action: specs.ActAllow,
Args: []specs.LinuxSeccompArg{}, Args: []specs.LinuxSeccompArg{},