grsecurity-3.1-4.6.3-201607062159 doesn't compile

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

grsecurity-3.1-4.6.3-201607062159 doesn't compile

Postby adminwset » Thu Jul 07, 2016 5:12 am

hey,
Another problem with today release of grsecurity:
When i try compiluje 4.6.3 with grsecurity-3.1-4.6.3-201607062159 got another crash:

CC fs/overlayfs/copy_up.o
LD fs/overlayfs/overlay.o
LD fs/overlayfs/built-in.o
CC fs/proc/task_mmu.o
fs/proc/task_mmu.c: In function 'proc_maps_open':
fs/proc/task_mmu.c:258:57: error: 'struct proc_maps_private' has no member named 'ptracer_exec_id'
priv->mm = proc_mem_open(inode, PTRACE_MODE_READ, &priv->ptracer_exec_id);
^
scripts/Makefile.build:291: recipe for target 'fs/proc/task_mmu.o' failed
make[2]: *** [fs/proc/task_mmu.o] Error 1
scripts/Makefile.build:440: recipe for target 'fs/proc' failed
make[1]: *** [fs/proc] Error 2
Makefile:967: recipe for target 'fs' failed
make: *** [fs] Error 2


Best Regards
TaKeN
adminwset
 
Posts: 8
Joined: Fri May 07, 2004 6:05 am

Re: grsecurity-3.1-4.6.3-201607062159 doesn't compile

Postby spender » Thu Jul 07, 2016 7:13 am

Change the #ifdef CONFIG_GRKERNSEC just above that line to a #ifdef CONFIG_GRKERNSEC_PROC_MEMMAP

It'll be fixed in the next patches.

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


Return to grsecurity support

cron