Merge pull request #18972 from justincormack/bpf

Block bpf syscall from default seccomp profile
This commit is contained in:
Arnaud Porterie 2015-12-29 11:57:07 -08:00
commit 2307f47fdd
1 changed files with 7 additions and 0 deletions

View File

@ -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",