make gives error (on x86 (amd duron)): include/linux/mm.h lines 134 and 143, structure has no member "flags" I am going to try the regular hardened kernel now, because I cannot resolve this. The project page for it was rather impressive though... I am sad. Reproducible: Always Steps to Reproduce: 1. emerge rsbac-dev-sources 2. zcat /proc/config.gz >/usr/src/linux-2.6.10-rsbac-r1 3. cd /usr/src/linux-2.6.10-rsbac-r1 4. make Actual Results: CHK include/linux/version.h make[1]: `arch/i386/kernel/asm-offsets.s' is up to date. CC init/main.o In file included from include/linux/rmap.h:10, from init/main.c:46: include/linux/mm.h: In function `pax_get_flags': include/linux/mm.h:134: error: structure has no member named `flags' include/linux/mm.h: In function `pax_set_flags': include/linux/mm.h:143: error: structure has no member named `flags' make[1]: *** [init/main.o] Error 1 make: *** [init] Error 2 Expected Results: that it works
Hi, Don't feel sad :) and please make sure that you enabled the PaX settings as HOOK in PaX kernel options before compiling. There is a small tutorial here: http://www.gentoo.org/proj/en/hardened/rsbac/quickstart.xml With [*] RSBAC support for PAX policy you need: [*] Enable various PaX features PaX Control ---> Use ELF program header marking MAC system integration (hook) ---> (X) hook Please report me if it now works fine, thanks.
please tell me if it worked out, else i'll mark this bug invalid in a few days (as it should work anyway, its a known issue)
no answer, closing btw, newer recomandation is using the direct integration, not hook, thought both work.