[openssh] Fix build issue without getuid32

Jakub Jelen jjelen at fedoraproject.org
Mon Feb 23 11:44:02 UTC 2015


commit e3a6256653ad6b8f4076dfd5a53e206f1cad94af
Author: Jakub Jelen <jjelen at redhat.com>
Date:   Mon Feb 23 12:41:59 2015 +0100

    Fix build issue without getuid32

 openssh-6.7p1-audit.patch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
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),


More information about the scm-commits mailing list