Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / security / selinux / include / avc_ss.h
blob3bcc72769b87ae10706399c9d84ded642bede79d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Access vector cache interface for the security server.
5 * Author : Stephen Smalley, <sds@tycho.nsa.gov>
6 */
7 #ifndef _SELINUX_AVC_SS_H_
8 #define _SELINUX_AVC_SS_H_
10 #include "flask.h"
12 int avc_ss_reset(u32 seqno);
14 /* Class/perm mapping support */
15 struct security_class_mapping {
16 const char *name;
17 const char *perms[sizeof(u32) * 8 + 1];
20 extern struct security_class_mapping secclass_map[];
23 * The security server must be initialized before
24 * any labeling or access decisions can be provided.
26 extern int ss_initialized;
28 #endif /* _SELINUX_AVC_SS_H_ */