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 "flask.h" 11 12 int avc_ss_reset(u32 seqno); 13 14 /* Class/perm mapping support */ 15 struct security_class_mapping { 16 const char *name; 17 const char *perms[sizeof(u32) * 8 + 1]; 18 }; 19 20 extern struct security_class_mapping secclass_map[]; 21 22 /* 23 * The security server must be initialized before 24 * any labeling or access decisions can be provided. 25 */ 26 extern int ss_initialized; 27 28 #endif /* _SELINUX_AVC_SS_H_ */ 29 30