Kees Cook e2bebb4ae6 audit: define AUDIT_ARCH_OPENRISC
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'

This replaces it with the newly defined AUDIT_ARCH_OPENRISC, since it
is only 32-bit, and currently only operates in big-endian mode.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
2012-09-21 08:09:54 +02:00
..
2011-07-22 18:46:41 +02:00
2012-05-08 11:43:51 +02:00
2012-03-28 18:30:03 +01:00
2012-05-08 11:43:00 +02:00
2012-05-05 13:00:24 +02:00
2011-07-22 18:46:37 +02:00
2011-07-22 18:46:41 +02:00
2012-03-28 18:30:03 +01:00
2012-09-21 08:09:54 +02:00
2012-03-28 15:58:21 -07:00
2012-06-01 12:58:52 -04:00
2011-07-22 18:46:34 +02:00
2011-07-22 18:46:34 +02:00
2012-03-28 15:58:21 -07:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:30 +02:00