[rsbac] rsbac-kernel-2.6.7-r6 cant compile with GCC-3.4.2

Amon Ott ao at rsbac.org
Mon Oct 25 16:30:07 CEST 2004


On Montag, 25. Oktober 2004 16:02, Rumen Yotov wrote:
> i'm using gentoo - ~x86, hardened.
> Compiled kernels - 2.6.7-r2,r3 with GCC-3.3.4 all OK.
> But with GCC-3.4.2-r2 can't compile the kernel-2.6.7-r6.
> Sorry for crossposting but also filed a bug on bugs.gentoo.org - 
don't have the number now, sorry, here it is: BUG-68745.
> There are the logs - shortly it gives an error while compiling ADF.
> The same kernel compiles OK even w/ PaX and w/o any RSBAC.
> Not very sure if the culpit is GCC but seems so. i'll try later with 
GCC-3.3.4 again but have first to emerge it.

Seems like the kproc_hide REG sample includes an RSBAC header before 
linux/file.h gets included, so the redefinition check fails.

You can the attached patch, it should fix the problem. Or simply 
disable the "Compile REG sample modules" RSBAC kernel option.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22
-------------- nächster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde geschreddert...
Dateiname   : kproc_hide.diff
Dateityp    : text/x-diff
Dateigr??e  : 1179 bytes
Beschreibung: nicht verf?gbar
URL         : http://www.rsbac.org/pipermail/rsbac/attachments/20041025/347ada2b/kproc_hide.bin


More information about the rsbac mailing list