error: 'SYSLOG_FROM_FILE' undeclared

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

error: 'SYSLOG_FROM_FILE' undeclared

Postby KDE » Sat Jun 22, 2013 10:15 am

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
KDE
 
Posts: 57
Joined: Sat Feb 09, 2008 5:29 am

Re: error: 'SYSLOG_FROM_FILE' undeclared

Postby forsaken » Sat Jun 22, 2013 4:47 pm

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.
forsaken
 
Posts: 74
Joined: Tue May 18, 2004 3:04 am

Re: error: 'SYSLOG_FROM_FILE' undeclared

Postby spender » Sun Jun 23, 2013 4:11 pm

These should both be fixed in the latest patches.

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


Return to grsecurity support