Merge pull request #18972 from justincormack/bpf
Block bpf syscall from default seccomp profile
This commit is contained in:
commit
2307f47fdd
1 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,13 @@ var defaultSeccompProfile = &configs.Seccomp{
|
|||
Action: configs.Errno,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
// Deny loading potentially persistent bpf programs into kernel
|
||||
// already gated by CAP_SYS_ADMIN
|
||||
Name: "bpf",
|
||||
Action: configs.Errno,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
// Time/Date is not namespaced
|
||||
Name: "clock_adjtime",
|
||||
|
|
Loading…
Reference in a new issue