File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: GPL-2.0
2
2
#include <asm/unistd_32.h>
3
+ #include <asm/audit.h>
3
4
4
5
unsigned ia32_dir_class [] = {
5
6
#include < asm- generic /audit_dir_write .h >
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0 */
2
+ #ifndef _ASM_X86_AUDIT_H
3
+ #define _ASM_X86_AUDIT_H
4
+
5
+ int ia32_classify_syscall (unsigned int syscall );
6
+
7
+ #endif /* _ASM_X86_AUDIT_H */
Original file line number Diff line number Diff line change 3
3
#include <linux/types.h>
4
4
#include <linux/audit.h>
5
5
#include <asm/unistd.h>
6
+ #include <asm/audit.h>
6
7
7
8
static unsigned dir_class [] = {
8
9
#include < asm- generic /audit_dir_write .h >
@@ -41,7 +42,6 @@ int audit_classify_arch(int arch)
41
42
int audit_classify_syscall (int abi , unsigned syscall )
42
43
{
43
44
#ifdef CONFIG_IA32_EMULATION
44
- extern int ia32_classify_syscall (unsigned );
45
45
if (abi == AUDIT_ARCH_I386 )
46
46
return ia32_classify_syscall (syscall );
47
47
#endif
You can’t perform that action at this time.
0 commit comments