]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - security/selinux/include/avc_ss.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / security / selinux / include / avc_ss.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2/*
3 * Access vector cache interface for the security server.
4 *
7efbb60b 5 * Author : Stephen Smalley, <sds@tycho.nsa.gov>
1da177e4
LT
6 */
7#ifndef _SELINUX_AVC_SS_H_
8#define _SELINUX_AVC_SS_H_
9
10#include "flask.h"
11
12int avc_ss_reset(u32 seqno);
13
c6d3aaa4
SS
14/* Class/perm mapping support */
15struct security_class_mapping {
5c458998 16 const char *name;
c6d3aaa4 17 const char *perms[sizeof(u32) * 8 + 1];
5c458998
CS
18};
19
c6d3aaa4 20extern struct security_class_mapping secclass_map[];
5c458998 21
7b98a585
JM
22/*
23 * The security server must be initialized before
24 * any labeling or access decisions can be provided.
25 */
26extern int ss_initialized;
27
1da177e4
LT
28#endif /* _SELINUX_AVC_SS_H_ */
29