[grsec] Compileerror 2.4.32 fs/proc/array.c
Schwarz
schwarz at power-netz.de
Wed Nov 23 04:58:18 EST 2005
Hi,
this morning i got am error while compiling grsec:
array.c: In function `proc_pid_stat':
array.c:371: structure has no member named `pax_flags'
array.c:371: structure has no member named `pax_flags'
array.c:423: structure has no member named `pax_flags'
array.c:423: structure has no member named `pax_flags'
array.c:424: structure has no member named `pax_flags'
array.c:424: structure has no member named `pax_flags'
array.c:425: structure has no member named `pax_flags'
array.c:425: structure has no member named `pax_flags'
array.c: In function `show_map':
array.c:583: structure has no member named `pax_flags'
array.c:583: structure has no member named `pax_flags'
array.c:584: structure has no member named `pax_flags'
array.c:584: structure has no member named `pax_flags'
array.c:594: structure has no member named `pax_flags'
array.c:594: structure has no member named `pax_flags'
make[3]: *** [array.o] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
>/entwicklungen/kernels/linux-2.4.32/fs/proc<
make[2]: *** [first_rule] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis
>/entwicklungen/kernels/linux-2.4.32/fs/proc<
make[1]: *** [_subdir_proc] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
>/entwicklungen/kernels/linux-2.4.32/fs<
aaray.c Line 371:
#ifdef CONFIG_GRKERNSEC_PROC_MEMMAP
if (PAX_RAND_FLAGS(mm)) {
eip = 0;
esp = 0;
wchan = 0;
}
#endif
.config :
...
CONFIG_GRKERNSEC_PROC_MEMMAP=y
...
Where in fact, I did not set it in the config :)
The used patch file was:
grsecurity-2.1.7-2.4.32-200511131857.patch
SOLUTION:
#########
Set the MAC control to NONE .
regards M.Schwarz
More information about the grsecurity
mailing list