diff --git a/openssh-6.7p1-audit.patch b/openssh-6.7p1-audit.patch index ed237e2..41401e7 100644 --- a/openssh-6.7p1-audit.patch +++ b/openssh-6.7p1-audit.patch @@ -2377,14 +2377,16 @@ index 4554b09..226a494 100644 diff -U3 openssh-6.6p1/sandbox-seccomp-filter.c openssh-6.6p1.seccomp/sandbox-seccomp-filter.c --- openssh-6.6p1/sandbox-seccomp-filter.c 2014-02-06 01:17:50.000000000 +0100 +++ openssh-6.6p1.seccomp/sandbox-seccomp-filter.c 2015-02-11 09:07:10.885000000 +0100 -@@ -95,6 +95,10 @@ +@@ -95,6 +95,12 @@ #ifdef __NR_time /* not defined on EABI ARM */ SC_ALLOW(time), #endif +#ifdef SSH_AUDIT_EVENTS + SC_ALLOW(getuid), ++#ifdef __NR_getuid32 /* not defined on x86_64 */ + SC_ALLOW(getuid32), +#endif ++#endif SC_ALLOW(read), SC_ALLOW(write), SC_ALLOW(close),