1 --- linux-2.6.27/init/Kconfig~ 2008-11-20 23:26:34.000000000 +0100
2 +++ linux-2.6.27/init/Kconfig 2008-12-01 20:37:12.000000000 +0100
6 config PROC_PAGE_MONITOR
8 - depends on PROC_FS && MMU && !GRKERNSEC
10 + depends on PROC_FS && MMU
11 bool "Enable /proc page monitoring" if EMBEDDED
13 Various /proc files exist to monitor process memory utilization:
18 - depends on PROC_FS && !GRKERNSEC_PROC_ADD
20 depends on SLAB || SLUB_DEBUG
26 --- linux-2.6.27/fs/proc/proc_misc.c~ 2008-11-20 23:26:30.000000000 +0100
27 +++ linux-2.6.27/fs/proc/proc_misc.c 2008-12-01 20:35:55.000000000 +0100
30 proc_create("stat", 0, NULL, &proc_stat_operations);
31 proc_create("interrupts", 0, NULL, &proc_interrupts_operations);
32 -#if defined(CONFIG_SLABINFO) && !defined(CONFIG_GRKERNSEC_PROC_ADD)
33 +#ifdef CONFIG_SLABINFO
34 +#ifdef CONFIG_GRKERNSEC_PROC_ADD
35 + proc_create("slabinfo",gr_mode,NULL,&proc_slabinfo_operations);
37 proc_create("slabinfo",S_IWUSR|S_IRUGO,NULL,&proc_slabinfo_operations);
39 #ifdef CONFIG_DEBUG_SLAB_LEAK
40 proc_create("slab_allocators", 0, NULL, &proc_slabstats_operations);