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

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