summaryrefslogtreecommitdiff
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-04-25 08:32:27 +1000
committerDarren Tucker <dtucker@zip.com.au>2017-04-25 08:32:27 +1000
commit17a54a03f5a1d35e33cc24e22cd7a9d0f6865dc4 (patch)
treea52f77b60df29528e4d2e314401dec6bec55d3c9 /sandbox-seccomp-filter.c
parent8b0eee148f7cf8b248c30d1bae57300f2cc5aafd (diff)
Fix typo in "socketcall".
Pointed out by jjelen at redhat.com.
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index 200932a8c..ca75cc719 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -225,7 +225,7 @@ static const struct sock_filter preauth_insns[] = {
225#endif 225#endif
226#ifdef __NR_socketcall 226#ifdef __NR_socketcall
227 SC_ALLOW_ARG(__NR_socketcall, 0, SYS_SHUTDOWN), 227 SC_ALLOW_ARG(__NR_socketcall, 0, SYS_SHUTDOWN),
228 SC_DENY(__NR_ssocketcall, EACCES), 228 SC_DENY(__NR_socketcall, EACCES),
229#endif 229#endif
230#if defined(__NR_ioctl) && defined(__s390__) 230#if defined(__NR_ioctl) && defined(__s390__)
231 /* Allow ioctls for ICA crypto card on s390 */ 231 /* Allow ioctls for ICA crypto card on s390 */