1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

seccomp: remove the unused query_module(2)

query_module(2) is only in kernels before Linux 2.6.

Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
This commit is contained in:
Kenta Tada 2020-05-19 10:30:54 +09:00
parent 327a0b4ae4
commit 1192c7aee4
2 changed files with 1 additions and 3 deletions

View file

@ -695,8 +695,7 @@
"names": [
"delete_module",
"init_module",
"finit_module",
"query_module"
"finit_module"
],
"action": "SCMP_ACT_ALLOW",
"args": [],

View file

@ -598,7 +598,6 @@ func DefaultProfile() *types.Seccomp {
"delete_module",
"init_module",
"finit_module",
"query_module",
},
Action: types.ActAllow,
Args: []*types.Arg{},