SCMP_SYS(stat64),
#endif
+ /*
+ * These socket syscalls are not required on x86_64 and not supported with
+ * some libseccomp versions (eg: 1.0.1)
+ */
+#if defined(__i386)
+ SCMP_SYS(recv),
+ SCMP_SYS(send),
+#endif
+
// socket syscalls
SCMP_SYS(bind),
SCMP_SYS(connect),
SCMP_SYS(recvfrom),
SCMP_SYS(sendto),
SCMP_SYS(unlink)
-
- /*
- * These syscalls are not required on x86_64 and not supported with
- * some libseccomp versions (eg: 1.0.1)
- */
-#if defined(__i386)
- SCMP_SYS(recv),
- SCMP_SYS(send),
-#endif
};
/**