vfs: allow O_PATH file descriptors for fstatfs()
[linux-2.6.git] / security / selinux / include / avc_ss.h
blobd5c328452df0161acd82bd8ec295fecc00392b86
1 /*
2 * Access vector cache interface for the security server.
4 * Author : Stephen Smalley, <sds@epoch.ncsc.mil>
5 */
6 #ifndef _SELINUX_AVC_SS_H_
7 #define _SELINUX_AVC_SS_H_
9 #include "flask.h"
11 int avc_ss_reset(u32 seqno);
13 /* Class/perm mapping support */
14 struct security_class_mapping {
15 const char *name;
16 const char *perms[sizeof(u32) * 8 + 1];
19 extern struct security_class_mapping secclass_map[];
22 * The security server must be initialized before
23 * any labeling or access decisions can be provided.
25 extern int ss_initialized;
27 #endif /* _SELINUX_AVC_SS_H_ */