[rsbac] patch-2.6.10-v1.2.3 in pre

kang kang at insecure.ws
Sun Jan 9 02:37:29 CET 2005


Amon Ott wrote:

>Hi folks,
>
>RSBAC v1.2.3 has been ported to kernel 2.6.10. Patch and pre-patched 
>kernel are now uploading to http://rsbac.org/download/pre/
>
>Amon.
>  
>


Hi,

I got some probs with it. I use gcc 3.4.3 and pax test 17:

- "hook": if your MAC system uses the pax_set_flags_func callback.
=> It seems there is no pax_set_flags_func in the pax patch ? compilation fails, so i replaced with pax_set_initial_flags_func, but i guess that's probably not right :)
=> I of course had "Hook" mode in kernel config.

Then later, seems like a rsbac issue:
  CC      mm/mmap.o
mm/mmap.c: In function `__vm_stat_account':
mm/mmap.c:758: warning: unused variable `rsbac_target'
mm/mmap.c:759: warning: unused variable `rsbac_target_id'
mm/mmap.c:760: warning: unused variable `rsbac_attribute_value'
mm/mmap.c: In function `__do_mmap_pgoff':
mm/mmap.c:1009: error: `rsbac_target' undeclared (first use in this function)
mm/mmap.c:1009: error: (Each undeclared identifier is reported only once
mm/mmap.c:1009: error: for each function it appears in.)
mm/mmap.c:1010: error: `rsbac_target_id' undeclared (first use in this function)
mm/mmap.c:1019: error: `rsbac_attribute_value' undeclared (first use in this function)
make[1]: *** [mm/mmap.o] Error 1
make: *** [mm] Error 2

This error also occurs with gcc 3.3.4






More information about the rsbac mailing list