Fix build issue without getuid32

This commit is contained in:
Jakub Jelen 2015-02-23 12:41:59 +01:00
parent c13a4b7170
commit e3a6256653
1 changed files with 3 additions and 1 deletions

View File

@ -2377,13 +2377,15 @@ 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),