blob: 47023a04c416da15f540723157d2bddca6ccdc80 [file] [log] [blame]
Stephen Smalleyf0740362012-01-04 12:30:47 -05001#ifndef _POLICY_H_
2#define _POLICY_H_
3
4/* Private definitions used internally by libselinux. */
5
6/* xattr name for SELinux attributes. */
7#define XATTR_NAME_SELINUX "security.selinux"
8
9/* Initial length guess for getting contexts. */
10#define INITCONTEXTLEN 255
11
12/* selinuxfs magic number */
13#define SELINUX_MAGIC 0xf97cff8c
14
Stephen Smalleyf0740362012-01-04 12:30:47 -050015/* selinuxfs mount point */
16extern char *selinux_mnt;
17
18#define FILECONTEXTS "/etc/security/selinux/file_contexts"
19
20#define DEFAULT_POLICY_VERSION 15
21
22#endif