Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Access vector cache interface for the security server.
0004  *
0005  * Author : Stephen Smalley, <sds@tycho.nsa.gov>
0006  */
0007 #ifndef _SELINUX_AVC_SS_H_
0008 #define _SELINUX_AVC_SS_H_
0009 
0010 #include <linux/types.h>
0011 
0012 struct selinux_avc;
0013 int avc_ss_reset(struct selinux_avc *avc, u32 seqno);
0014 
0015 /* Class/perm mapping support */
0016 struct security_class_mapping {
0017     const char *name;
0018     const char *perms[sizeof(u32) * 8 + 1];
0019 };
0020 
0021 extern const struct security_class_mapping secclass_map[];
0022 
0023 #endif /* _SELINUX_AVC_SS_H_ */
0024