Deny finit_module in default seccomp profile
This is a new version of init_module that takes a file descriptor rather than a file name. Signed-off-by: Justin Cormack <justin.cormack@unikernel.com> Upstream-commit: 0d5306a0b69c912a981f3a4bd41b80beb1207851 Component: engine
This commit is contained in:
@@ -71,6 +71,12 @@ var defaultSeccompProfile = &configs.Seccomp{
|
||||
Action: configs.Errno,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
// Deny manipulation and functions on kernel modules.
|
||||
Name: "finit_module",
|
||||
Action: configs.Errno,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
// Deny retrieval of exported kernel and module symbols
|
||||
Name: "get_kernel_syms",
|
||||
|
||||
Reference in New Issue
Block a user