Page 1 of 1

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

PostPosted: Mon Aug 06, 2012 5:48 pm
by x14sg1
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.

Re: grsecurity-2.9.1-3.5.0-201208061715 compile bug

PostPosted: Mon Aug 06, 2012 6:33 pm
by spender
Thanks for the report. It's been fixed in the latest patch.

-Brad

Re: grsecurity-2.9.1-3.5.0-201208061715 compile bug

PostPosted: Mon Aug 06, 2012 6:41 pm
by x14sg1
Thanks

That fixed it