mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Block original umount syscall in default seccomp filter
The original umount syscall without flags argument needs to be blocked too. Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
parent
eb551baf6f
commit
9be0d93cf7
1 changed files with 6 additions and 0 deletions
|
@ -298,6 +298,12 @@ var defaultSeccompProfile = &configs.Seccomp{
|
||||||
Action: configs.Errno,
|
Action: configs.Errno,
|
||||||
Args: []*configs.Arg{},
|
Args: []*configs.Arg{},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// Deny umount
|
||||||
|
Name: "umount",
|
||||||
|
Action: configs.Errno,
|
||||||
|
Args: []*configs.Arg{},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// Deny umount
|
// Deny umount
|
||||||
Name: "umount2",
|
Name: "umount2",
|
||||||
|
|
Loading…
Add table
Reference in a new issue