Block clock_adjtime in default seccomp config
clock_adjtime is the new posix style version of adjtime allowing a specific clock to be specified. Time is not namespaced, so do not allow. Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
parent
eb551baf6f
commit
0e5c43cdda
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ var defaultSeccompProfile = &configs.Seccomp{
|
||||||
Action: configs.Errno,
|
Action: configs.Errno,
|
||||||
Args: []*configs.Arg{},
|
Args: []*configs.Arg{},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// Time/Date is not namespaced
|
||||||
|
Name: "clock_adjtime",
|
||||||
|
Action: configs.Errno,
|
||||||
|
Args: []*configs.Arg{},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// Time/Date is not namespaced
|
// Time/Date is not namespaced
|
||||||
Name: "clock_settime",
|
Name: "clock_settime",
|
||||||
|
|
Loading…
Add table
Reference in a new issue