projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] audit signal recipients
[linux-block.git]
/
arch
/
powerpc
/
kernel
/
audit.c
diff --git
a/arch/powerpc/kernel/audit.c
b/arch/powerpc/kernel/audit.c
index 66d54bada0bf15d53ea41c47f7c25df4fea43e65..a4dab7cab3489f7685d1829bff92f7480a476a4d 100644
(file)
--- a/
arch/powerpc/kernel/audit.c
+++ b/
arch/powerpc/kernel/audit.c
@@
-28,6
+28,15
@@
static unsigned signal_class[] = {
~0U
};
+int audit_classify_arch(int arch)
+{
+#ifdef CONFIG_PPC64
+ if (arch == AUDIT_ARCH_PPC)
+ return 1;
+#endif
+ return 0;
+}
+
int audit_classify_syscall(int abi, unsigned syscall)
{
#ifdef CONFIG_PPC64