The error is grsecurity/grsec_sysctl.c:465:15: error: 'one' undeclared here (not in a function) It appears that 'one' is defined as: #ifdef CONFIG_GRKERNSEC_ROFS static int __maybe_unused one = 1; #endif but it should instead be: #ifdef defined(CONFIG_GRKERNSEC_ROFS) || defined(CONFIG_GRKERNSEC_DENYUSB) static int __maybe_unused one = 1; #endif
(In reply to Jaak Ristioja from comment #0) > but it should instead be: > > #ifdef defined(CONFIG_GRKERNSEC_ROFS) || defined(CONFIG_GRKERNSEC_DENYUSB) > static int __maybe_unused one = 1; > #endif That is: #if defined(CONFIG_GRKERNSEC_ROFS) || defined(CONFIG_GRKERNSEC_DENYUSB) static int __maybe_unused one = 1; #endif
RESOLVED DUPLICATE of bug 483078
*** This bug has been marked as a duplicate of bug 483078 ***