summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/compat_audit.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-01 01:02:42 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2006-09-11 19:32:25 +0200
commitc08037997d4ae3e9a679fbdb46ed47c957916e14 (patch)
tree952bc446670f19efb3a008f4846905d50ef235fd /arch/powerpc/kernel/compat_audit.c
parent[PATCH] update audit rule change messages (diff)
downloadlinux-c08037997d4ae3e9a679fbdb46ed47c957916e14.tar.xz
linux-c08037997d4ae3e9a679fbdb46ed47c957916e14.zip
[PATCH] syscall classes hookup for ppc and s390
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/kernel/compat_audit.c')
-rw-r--r--arch/powerpc/kernel/compat_audit.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/compat_audit.c b/arch/powerpc/kernel/compat_audit.c
new file mode 100644
index 000000000000..dbbb8b81f1d9
--- /dev/null
+++ b/arch/powerpc/kernel/compat_audit.c
@@ -0,0 +1,12 @@
+#undef __powerpc64__
+#include <asm/unistd.h>
+
+unsigned ppc32_dir_class[] = {
+#include <asm-generic/audit_dir_write.h>
+~0U
+};
+
+unsigned ppc32_chattr_class[] = {
+#include <asm-generic/audit_change_attr.h>
+~0U
+};