[Bug 2361] seccomp filter (not only) for aarch64

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Apr 22 12:01:23 AEST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2361

--- Comment #4 from Darren Tucker <dtucker at zip.com.au> ---
Comment on attachment 2561
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2561
aarh64 patch

>+#ifdef __NR_select /* not on AArch64 */
> 	SC_ALLOW(select),
> #endif
>+#ifdef __NR_pselect6 /* AArch64 */
>+	SC_ALLOW(pselect6),
>+#endif
>+#endif

This nesting looks wrong and it's getting messy.

Could we put the __NR_$thing test inside the SC_ALLOW/SC_DENY macros?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list