Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
s390
kernel
compat_audit.c
Go to the documentation of this file.
1
#undef __s390x__
2
#include <asm/unistd.h>
3
#include "
audit.h
"
4
5
unsigned
s390_dir_class
[] = {
6
#include <
asm-generic/audit_dir_write.h
>
7
~0
U
8
};
9
10
unsigned
s390_chattr_class
[] = {
11
#include <
asm-generic/audit_change_attr.h
>
12
~0
U
13
};
14
15
unsigned
s390_write_class
[] = {
16
#include <
asm-generic/audit_write.h
>
17
~0
U
18
};
19
20
unsigned
s390_read_class
[] = {
21
#include <
asm-generic/audit_read.h
>
22
~0
U
23
};
24
25
unsigned
s390_signal_class
[] = {
26
#include <
asm-generic/audit_signal.h
>
27
~0
U
28
};
29
30
int
s390_classify_syscall
(
unsigned
syscall
)
31
{
32
switch
(syscall) {
33
case
__NR_open
:
34
return
2;
35
case
__NR_openat
:
36
return
3;
37
case
__NR_socketcall
:
38
return
4;
39
case
__NR_execve
:
40
return
5;
41
default
:
42
return
1;
43
}
44
}
Generated on Thu Jan 10 2013 13:13:32 for Linux Kernel by
1.8.2