r4704 - in dists/trunk/linux-2.6/debian: . arch/powerpc
patches-debian patches-debian/series
Simon Horman
horms at costa.debian.org
Mon Oct 31 13:21:08 UTC 2005
Author: horms
Date: 2005-10-31 13:21:08 +0000 (Mon, 31 Oct 2005)
New Revision: 4704
Added:
dists/trunk/linux-2.6/debian/patches-debian/powerpc64-audit_sysctl-build.patch
Modified:
dists/trunk/linux-2.6/debian/arch/powerpc/config.powerpc64
dists/trunk/linux-2.6/debian/changelog
dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-2
Log:
Fix for AUDITSYSCALL build probolem on powerpc64
Modified: dists/trunk/linux-2.6/debian/arch/powerpc/config.powerpc64
===================================================================
--- dists/trunk/linux-2.6/debian/arch/powerpc/config.powerpc64 2005-10-31 13:04:19 UTC (rev 4703)
+++ dists/trunk/linux-2.6/debian/arch/powerpc/config.powerpc64 2005-10-31 13:21:08 UTC (rev 4704)
@@ -78,4 +78,3 @@
CONFIG_NEED_MULTIPLE_NODES=y
CONFIG_XICS=y
CONFIG_NODES_SPAN_OTHER_NODES=y
-CONFIG_AUDITSYSCALL=y
Modified: dists/trunk/linux-2.6/debian/changelog
===================================================================
--- dists/trunk/linux-2.6/debian/changelog 2005-10-31 13:04:19 UTC (rev 4703)
+++ dists/trunk/linux-2.6/debian/changelog 2005-10-31 13:21:08 UTC (rev 4704)
@@ -9,6 +9,8 @@
so headers get included. (closes: #336521)
N.B: I only filled in arches where other's hadn't done so alread.
Please fix if its wrong.
+ * Allow powerpc64 to compile with AUDIT enabled but
+ AUDITSYSCALL disabled. powerpc64-audit_sysctl-build.patch
[ dann frazier ]
* Update hppa.diff to 2.6.14-pa0
@@ -27,7 +29,7 @@
* Deactivate AUDITSYSCALL globally, it slows down the kernel and is not
needed for selinux at all.
- -- Simon Horman <horms at debian.org> Mon, 31 Oct 2005 16:57:56 +0900
+ -- Simon Horman <horms at debian.org> Mon, 31 Oct 2005 22:15:43 +0900
linux-2.6 (2.6.14-1) unstable; urgency=low
Added: dists/trunk/linux-2.6/debian/patches-debian/powerpc64-audit_sysctl-build.patch
===================================================================
--- dists/trunk/linux-2.6/debian/patches-debian/powerpc64-audit_sysctl-build.patch 2005-10-31 13:04:19 UTC (rev 4703)
+++ dists/trunk/linux-2.6/debian/patches-debian/powerpc64-audit_sysctl-build.patch 2005-10-31 13:21:08 UTC (rev 4704)
@@ -0,0 +1,32 @@
+Date: Mon, 31 Oct 2005 22:10:59 +0900
+From: Horms <horms at verge.net.au>
+To: linuxppc-dev at ozlabs.org
+Cc: Andrew Morton <akpm at osdl.org>, david at woodhou.se
+Subject: audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL
+
+This section of code calls .audit_syscal_exit,
+but is inside CONFIG_AUDIT, so it will fail to build
+if CONFIG_AUDITSYSCALL is not defined.
+
+After discussion with David Woodhouse, change the
+ifdef to CONFIG_AUDITSYSCALL
+
+
+Signed-off-by: Horms <horms at verge.net.au>
+
+--
+Backported to 2.6.14 by Horms
+
+diff --git a/arch/ppc64/kernel/entry.S b/arch/ppc64/kernel/entry.S
+index 984a106..2d22bf0 100644
+--- a/arch/ppc64/kernel/entry.S
++++ b/arch/ppc64/kernel/entry.S
+@@ -279,7 +279,7 @@ _GLOBAL(ppc32_rt_sigsuspend)
+ bne syscall_exit
+ /* If sigsuspend() returns zero, we are going into a signal handler. We
+ may need to call audit_syscall_exit() to mark the exit from sigsuspend() */
+-#ifdef CONFIG_AUDIT
++#ifdef CONFIG_AUDITSYSCALL
+ ld r3,PACACURRENT(r13)
+ ld r4,AUDITCONTEXT(r3)
+ cmpdi 0,r4,0
Modified: dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-2
===================================================================
--- dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-2 2005-10-31 13:04:19 UTC (rev 4703)
+++ dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-2 2005-10-31 13:21:08 UTC (rev 4704)
@@ -1 +1,2 @@
+ alpha-compile-fix.patch
++ powerpc64-audit_sysctl-build.patch
More information about the Kernel-svn-changes
mailing list