summaryrefslogtreecommitdiff
path: root/tests/30-sim-socket_syscalls.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/30-sim-socket_syscalls.py')
-rwxr-xr-xtests/30-sim-socket_syscalls.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/30-sim-socket_syscalls.py b/tests/30-sim-socket_syscalls.py
index d37d411..2e06fa7 100755
--- a/tests/30-sim-socket_syscalls.py
+++ b/tests/30-sim-socket_syscalls.py
@@ -35,11 +35,28 @@ def test(args):
f.add_arch(Arch("x86_64"))
f.add_arch(Arch("x32"))
f.add_arch(Arch("ppc64le"))
+ f.add_arch(Arch("mipsel"))
f.add_rule(ALLOW, "socket")
+ f.add_rule(ALLOW, "bind")
f.add_rule(ALLOW, "connect")
+ f.add_rule(ALLOW, "listen")
f.add_rule(ALLOW, "accept")
f.add_rule(ALLOW, "accept4")
+ f.add_rule(ALLOW, "getsockname")
+ f.add_rule(ALLOW, "getpeername")
+ f.add_rule(ALLOW, "socketpair")
+ f.add_rule(ALLOW, "send")
+ f.add_rule(ALLOW, "recv")
+ f.add_rule(ALLOW, "sendto")
+ f.add_rule(ALLOW, "recvfrom")
f.add_rule(ALLOW, "shutdown")
+ f.add_rule(ALLOW, "setsockopt")
+ f.add_rule(ALLOW, "getsockopt")
+ f.add_rule(ALLOW, "sendmsg")
+ f.add_rule(ALLOW, "recvmsg")
+ f.add_rule(ALLOW, "accept4")
+ f.add_rule(ALLOW, "sendmmsg")
+ f.add_rule(ALLOW, "recvmmsg")
return f
args = util.get_opt()