Explorar o código

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>
Kenta Tada %!s(int64=5) %!d(string=hai) anos
pai
achega
1192c7aee4
Modificáronse 2 ficheiros con 1 adicións e 3 borrados
  1. 1 2
      profiles/seccomp/default.json
  2. 0 1
      profiles/seccomp/seccomp_default.go

+ 1 - 2
profiles/seccomp/default.json

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

+ 0 - 1
profiles/seccomp/seccomp_default.go

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