summaryrefslogtreecommitdiff
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index 3833424bf..98062f152 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -243,6 +243,7 @@ static const struct sock_filter preauth_insns[] = {
243#endif 243#endif
244#ifdef __NR_socketcall 244#ifdef __NR_socketcall
245 SC_ALLOW_ARG(__NR_socketcall, 0, SYS_SHUTDOWN), 245 SC_ALLOW_ARG(__NR_socketcall, 0, SYS_SHUTDOWN),
246 SC_DENY(__NR_socketcall, EACCES),
246#endif 247#endif
247#if defined(__NR_ioctl) && defined(__s390__) 248#if defined(__NR_ioctl) && defined(__s390__)
248 /* Allow ioctls for ICA crypto card on s390 */ 249 /* Allow ioctls for ICA crypto card on s390 */