blob: 4677aa519b0471b2f4dd7bad0cf79c737f93bd8d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Access vector cache interface for the security server.
3 *
4 * Author : Stephen Smalley, <sds@epoch.ncsc.mil>
5 */
6#ifndef _SELINUX_AVC_SS_H_
7#define _SELINUX_AVC_SS_H_
8
9#include "flask.h"
10
11int avc_ss_reset(u32 seqno);
12
Stephen Smalleyc6d3aaa2009-09-30 13:37:50 -040013/* Class/perm mapping support */
14struct security_class_mapping {
Chad Sellers5c458992006-11-06 12:38:16 -050015 const char *name;
Stephen Smalleyc6d3aaa2009-09-30 13:37:50 -040016 const char *perms[sizeof(u32) * 8 + 1];
Chad Sellers5c458992006-11-06 12:38:16 -050017};
18
Stephen Smalleyc6d3aaa2009-09-30 13:37:50 -040019extern struct security_class_mapping secclass_map[];
Chad Sellers5c458992006-11-06 12:38:16 -050020
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif /* _SELINUX_AVC_SS_H_ */
22