Commit | Line | Data |
---|---|---|
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 | ||
6b6bc620 SS |
12 | struct selinux_avc; |
13 | int avc_ss_reset(struct selinux_avc *avc, u32 seqno); | |
1da177e4 | 14 | |
c6d3aaa4 SS |
15 | /* Class/perm mapping support */ |
16 | struct security_class_mapping { | |
5c458998 | 17 | const char *name; |
c6d3aaa4 | 18 | const char *perms[sizeof(u32) * 8 + 1]; |
5c458998 CS |
19 | }; |
20 | ||
c6d3aaa4 | 21 | extern struct security_class_mapping secclass_map[]; |
5c458998 | 22 | |
1da177e4 LT |
23 | #endif /* _SELINUX_AVC_SS_H_ */ |
24 |