mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Block stime in default seccomp profile
The stime syscall is a legacy syscall on some architectures to set the clock, should be blocked as time is not namespaced. Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
@@ -280,6 +280,12 @@ var defaultSeccompProfile = &configs.Seccomp{
|
||||
Action: configs.Errno,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
// Time/Date is not namespaced
|
||||
Name: "stime",
|
||||
Action: configs.Errno,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
// Deny start/stop swapping to file/device
|
||||
Name: "swapon",
|
||||
|
||||
Reference in New Issue
Block a user