xref: /linux/security/selinux/include/avc_ss.h (revision dec1c62e91ba268ab2a6e339d4d7a59287d5eba1)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Access vector cache interface for the security server.
4  *
5  * Author : Stephen Smalley, <sds@tycho.nsa.gov>
6  */
7 #ifndef _SELINUX_AVC_SS_H_
8 #define _SELINUX_AVC_SS_H_
9 
10 #include <linux/types.h>
11 
12 struct selinux_avc;
13 int avc_ss_reset(struct selinux_avc *avc, u32 seqno);
14 
15 /* Class/perm mapping support */
16 struct security_class_mapping {
17 	const char *name;
18 	const char *perms[sizeof(u32) * 8 + 1];
19 };
20 
21 extern const struct security_class_mapping secclass_map[];
22 
23 #endif /* _SELINUX_AVC_SS_H_ */
24 
25