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

Discuss and suggest new grsecurity features

Moderators: spender, PaX Team

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

Postby fabled » Wed Jul 03, 2013 2:01 am

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.
fabled
 
Posts: 20
Joined: Sat Aug 08, 2009 8:39 am

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

Postby PaX Team » Thu Jul 04, 2013 9:25 am

thanks, the next patch will fix this.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity development

cron