Re: [PATCH] audit: define AUDIT_ARCH_OPENRISC

2012-09-20 Thread Jonas Bonn
On 09/21/2012 12:46 AM, Kees Cook wrote: When using audit on OpenRISC, an audit arch is needed. This defines it and fixes a compile-time bug uncovered in linux-next, likely from a cut/paste from an arch with 64/32-bit modes that defined arch_arch(): arch/openrisc/kernel/ptrace.c:190:2: error: im

[PATCH] audit: define AUDIT_ARCH_OPENRISC

2012-09-20 Thread Kees Cook
When using audit on OpenRISC, an audit arch is needed. This defines it and fixes a compile-time bug uncovered in linux-next, likely from a cut/paste from an arch with 64/32-bit modes that defined arch_arch(): arch/openrisc/kernel/ptrace.c:190:2: error: implicit declaration of function 'audit_arch'