Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * Access vector cache interface for the security server. | |
3 | * | |
4 | * Author : Stephen Smalley, <sds@epoch.ncsc.mil> | |
5 | */ | |
6 | #ifndef _SELINUX_AVC_SS_H_ | |
7 | #define _SELINUX_AVC_SS_H_ | |
8 | ||
9 | #include "flask.h" | |
10 | ||
11 | int avc_ss_reset(u32 seqno); | |
12 | ||
c6d3aaa4 SS |
13 | /* Class/perm mapping support */ |
14 | struct security_class_mapping { | |
5c458998 | 15 | const char *name; |
c6d3aaa4 | 16 | const char *perms[sizeof(u32) * 8 + 1]; |
5c458998 CS |
17 | }; |
18 | ||
c6d3aaa4 | 19 | extern struct security_class_mapping secclass_map[]; |
5c458998 | 20 | |
7b98a585 JM |
21 | /* |
22 | * The security server must be initialized before | |
23 | * any labeling or access decisions can be provided. | |
24 | */ | |
25 | extern int ss_initialized; | |
26 | ||
1da177e4 LT |
27 | #endif /* _SELINUX_AVC_SS_H_ */ |
28 |