selinux: dynamic class/perm discovery
[safe/jmp/linux-2.6] / security / selinux / include / avc_ss.h
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
13 /* Class/perm mapping support */
14 struct security_class_mapping {
15         const char *name;
16         const char *perms[sizeof(u32) * 8 + 1];
17 };
18
19 extern struct security_class_mapping secclass_map[];
20
21 #endif /* _SELINUX_AVC_SS_H_ */
22