grsecurity-2.9.1-3.5.0-201208061715 compile bug [fixed]

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

grsecurity-2.9.1-3.5.0-201208061715 compile bug [fixed]

Postby x14sg1 » Mon Aug 06, 2012 5:48 pm

Hello,


When I try to compile both patches for linux 3.5, I get the following error which I think is an extra ')'
before GLOBAL_ROOT_UID at grsecurity/gracl.c:3901

3.5-grsec: scripts/kconfig/conf --silentoldconfig Kconfig
3.5-grsec: make[1]: Nothing to be done for `all'.
3.5-grsec: make[1]: Nothing to be done for `relocs'.
3.5-grsec: CHK include/linux/version.h
3.5-grsec: CHK include/generated/utsrelease.h
3.5-grsec: CALL scripts/checksyscalls.sh
3.5-grsec: CHK include/generated/compile.h
3.5-grsec: AS arch/x86/platform/efi/efi_stub_32.o
3.5-grsec: LD arch/x86/platform/efi/built-in.o
3.5-grsec: LD arch/x86/platform/built-in.o
3.5-grsec: make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
3.5-grsec: LD arch/x86/built-in.o
3.5-grsec: GZIP kernel/config_data.gz
3.5-grsec: CHK kernel/config_data.h
3.5-grsec: CC grsecurity/gracl.o
3.5-grsec: grsecurity/gracl.c: In function 'gr_is_taskstats_denied':
3.5-grsec: grsecurity/gracl.c:3901:47: error: expected identifier before '!' token
3.5-grsec: grsecurity/gracl.c:3901:106: error: expected statement before ')' token
3.5-grsec: make[1]: *** [grsecurity/gracl.o] Error 1
3.5-grsec: make[1]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
3.5-grsec: make[1]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
3.5-grsec: grsec: protected kernel image paths
3.5-grsec: make[1]: Target `__build' not remade because of errors.
3.5-grsec: make: *** [grsecurity] Error 2
3.5-grsec: CC [M] drivers/video/nvidia/nvidia.o
3.5-grsec: LD [M] drivers/video/nvidia/nvidiafb.o
3.5-grsec: make: Target `bzImage' not remade because of errors.
3.5-grsec: make: Target `modules' not remade because of errors.
Last edited by x14sg1 on Mon Aug 06, 2012 6:52 pm, edited 1 time in total.
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

Re: grsecurity-2.9.1-3.5.0-201208061715 compile bug

Postby spender » Mon Aug 06, 2012 6:33 pm

Thanks for the report. It's been fixed in the latest patch.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Re: grsecurity-2.9.1-3.5.0-201208061715 compile bug

Postby x14sg1 » Mon Aug 06, 2012 6:41 pm

Thanks

That fixed it
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm


Return to grsecurity support