Page 1 of 1

error: 'SYSLOG_FROM_FILE' undeclared

PostPosted: Sat Jun 22, 2013 10:15 am
by KDE
grsecurity-2.9.1-3.9.7-201306220939.patch fails

kernel/printk.c: In function 'devkmsg_open':
kernel/printk.c:678:53: error: 'SYSLOG_FROM_FILE' undeclared (first use in this function)
kernel/printk.c:678:53: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [kernel/printk.o] Error 1

it seems SYSLOG_FROM_FILE' was renamed in 3.9.7

-#define SYSLOG_FROM_CALL 0
-#define SYSLOG_FROM_FILE 1
+#define SYSLOG_FROM_READER 0
+#define SYSLOG_FROM_PROC 1

Re: error: 'SYSLOG_FROM_FILE' undeclared

PostPosted: Sat Jun 22, 2013 4:47 pm
by forsaken
Fixing that gives me:

mm/vmalloc.c: In function '__get_vm_area_node':
mm/vmalloc.c:1369:14: error: 'VM_KERNEXEC' undeclared (first use in this function)
mm/vmalloc.c:1369:14: note: each undeclared identifier is reported only once for each function it appears in
mm/vmalloc.c: In function 'vmap':
mm/vmalloc.c:1620:12: error: 'VM_KERNEXEC' undeclared (first use in this function)
mm/vmalloc.c: In function '__vmalloc_node_range':
mm/vmalloc.c:1726:65: error: 'VM_KERNEXEC' undeclared (first use in this function)

I do not have CONFIG_MODULES.

Re: error: 'SYSLOG_FROM_FILE' undeclared

PostPosted: Sun Jun 23, 2013 4:11 pm
by spender
These should both be fixed in the latest patches.

-Brad