Page 1 of 1

arm: grsecurity-2.9.1-3.9.7-201306231443 fails to build

PostPosted: Wed Jul 03, 2013 2:01 am
by fabled
Patch: grsecurity-2.9.1-3.9.7-201306231443
ARCH=arm
CONFIG_CPU_USE_DOMAINS=y
CONFIG_PAX_MEMORY_UDEREF=y

will result in:
linux-3.9/arch/arm/include/asm/uaccess.h:69:3 error: 'DOMAIN_UDEREF' undeclared (first use in this function)

seems the #ifdef fences of defining DOMAIN_UDEREF in arch/arm/include/asm/domain.h are:
#ifdef CONFIG_CPU_USE_DOMAINS
..
#else
#ifdef CONFIG_PAX_MEMORY_UDEREF
#define DOMAIN_UDEREF ...
#endif
#endif

But uaccess.h uses it after checking for only CONFIG_PAX_MEMORY_UDEREF causing the compile failure.

Re: arm: grsecurity-2.9.1-3.9.7-201306231443 fails to build

PostPosted: Thu Jul 04, 2013 9:25 am
by PaX Team
thanks, the next patch will fix this.