kernel compilation error with grsec

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

kernel compilation error with grsec

Postby dunker » Wed Sep 04, 2013 7:07 pm

I am not a programmer. This error showed up while I was compiling a kernel, and it caused the procedure to fail:

CC grsecurity/grsec_sysctl.o
grsecurity/grsec_sysctl.c:465:15: error: 'one' undeclared here (not in a function)
make[1]: *** [grsecurity/grsec_sysctl.o] Error 1
make: *** [grsecurity] Error 2
make: *** Waiting for unfinished jobs....


Does anyone have some idea about how to fix this problem?
dunker
 
Posts: 14
Joined: Sun Jul 07, 2013 3:45 pm

Re: kernel compilation error with grsec

Postby N8Fear » Wed Sep 04, 2013 7:29 pm

Change your config to CONFIG_GRKERNSEC_ROFS=y if you want the new usb-stuff. It should be fixed in the latest patch iirc...
N8Fear
 
Posts: 37
Joined: Thu Jan 17, 2013 5:01 am

Re: kernel compilation error with grsec

Postby dunker » Wed Sep 04, 2013 7:46 pm

Can you identify for me which item that is in menuconfig or else point me to where I can find an explanation? I don't recall making any specific changes from the defaults after setting my general requirements. The only thing I see that sound similar would be "runtime read-only mount protection. Is that the one you believe I should include in the kernel? Thanks.
dunker
 
Posts: 14
Joined: Sun Jul 07, 2013 3:45 pm

Re: kernel compilation error with grsec

Postby N8Fear » Thu Sep 05, 2013 5:15 am

Yeah, that's it. A little advice for the future: in menuconfig type / <name of config option> as in /rofs and it'll tell you the name of the option and where to find it...
N8Fear
 
Posts: 37
Joined: Thu Jan 17, 2013 5:01 am


Return to grsecurity support

cron