query_module(2) is only in kernels before Linux 2.6. Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
@@ -695,8 +695,7 @@
"names": [
"delete_module",
"init_module",
- "finit_module",
- "query_module"
+ "finit_module"
],
"action": "SCMP_ACT_ALLOW",
"args": [],
@@ -598,7 +598,6 @@ func DefaultProfile() *types.Seccomp {
"finit_module",
- "query_module",
},
Action: types.ActAllow,
Args: []*types.Arg{},