SPECS (LINUX_2_6): kernel.spec - CONFIG_GRKERNSEC_HIDESYM=y from k...

mguevara mguevara at pld-linux.org
Wed Sep 28 00:16:57 CEST 2005


Author: mguevara                     Date: Tue Sep 27 22:16:57 2005 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- CONFIG_GRKERNSEC_HIDESYM=y from kernel-grsec+pax.config
  is not compatible with CONFIG_KALLSYMS* - disable them 
  when we build with pax.

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1219 -> 1.441.2.1220) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1219 SPECS/kernel.spec:1.441.2.1220
--- SPECS/kernel.spec:1.441.2.1219	Tue Sep 27 22:54:51 2005
+++ SPECS/kernel.spec	Wed Sep 28 00:16:51 2005
@@ -920,6 +920,11 @@
 
 %if %{with grsecurity}
 	cat %{!?with_pax:%{SOURCE90}}%{?with_pax:%{SOURCE91}} >> arch/%{_target_base_arch}/defconfig
+	%if %{with pax}
+		sed -i 's:CONFIG_KALLSYMS=y:# CONFIG_KALLSYMS is not set:' arch/%{_target_base_arch}/defconfig  
+		sed -i 's:CONFIG_KALLSYMS_ALL=y:# CONFIG_KALLSYMS_ALL is not set:' arch/%{_target_base_arch}/defconfig
+		sed -i 's:CONFIG_KALLSYMS_EXTRA_PASS=y:# CONFIG_KALLSYMS_EXTRA_PASS is not set:' arch/%{_target_base_arch}/defconfig
+	%endif
 %else
 %if %{with grsec_basic}
 	cat %{SOURCE90} >> arch/%{_target_base_arch}/defconfig
@@ -1572,6 +1577,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1220  2005/09/27 22:16:51  mguevara
+- CONFIG_GRKERNSEC_HIDESYM=y from kernel-grsec+pax.config
+  is not compatible with CONFIG_KALLSYMS* - disable them
+  when we build with pax.
+
 Revision 1.441.2.1219  2005/09/27 20:54:51  mguevara
 - linux-2.6-cx88-blackbird.patch (p145) removed - obsolete in 2.6.13.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1219&r2=1.441.2.1220&f=u




More information about the pld-cvs-commit mailing list