diff --git a/openssh-6.7p1-seccomp-aarch64.patch b/openssh-6.7p1-seccomp-aarch64.patch index 5aeea78..4285bd9 100644 --- a/openssh-6.7p1-seccomp-aarch64.patch +++ b/openssh-6.7p1-seccomp-aarch64.patch @@ -29,17 +29,17 @@ index 095b04a..52f6810 100644 - SC_DENY(stat, EACCES), + SC_DENY(openat, EACCES), +#ifdef __NR_open -+ SC_DENY(open, EACCES), /* - AArch64 */ ++ SC_DENY(open, EACCES), /* not on AArch64 */ +#endif +#ifdef __NR_fstat -+ SC_DENY(fstat, EACCES), /* + x86_64 */ ++ SC_DENY(fstat, EACCES), /* x86_64, Aarch64 */ +#endif +#if defined(__NR_stat64) && defined(__NR_fstat64) -+ SC_DENY(stat64, EACCES), /* + ix86, arm */ ++ SC_DENY(stat64, EACCES), /* ix86, arm */ + SC_DENY(fstat64, EACCES), +#endif +#ifdef __NR_newfstatat -+ SC_DENY(newfstatat, EACCES), /* + Aarch64 */ ++ SC_DENY(newfstatat, EACCES), /* Aarch64 */ +#endif SC_ALLOW(getpid), SC_ALLOW(gettimeofday), @@ -48,16 +48,16 @@ index 095b04a..52f6810 100644 SC_ALLOW(shutdown), #endif SC_ALLOW(brk), -+#ifdef __NR_poll /* Not available on AArch64 */ ++#ifdef __NR_poll /* not on AArch64 */ SC_ALLOW(poll), +#endif #ifdef __NR__newselect SC_ALLOW(_newselect), #else -+#ifdef __NR_select /* Not available on AArch64 */ ++#ifdef __NR_select /* not on AArch64 */ SC_ALLOW(select), #endif -+#ifdef __NR_pselect6 /* + AArch64 */ ++#ifdef __NR_pselect6 /* AArch64 */ + SC_ALLOW(pselect6), +#endif +#endif