1#ifndef _POLICY_H_ 2#define _POLICY_H_ 3 4/* Private definitions used internally by libselinux. */ 5 6/* 7 * xattr name for SELinux attributes. 8 * This may have been exported via Kernel uapi header. 9 */ 10#ifndef XATTR_NAME_SELINUX 11#define XATTR_NAME_SELINUX "security.selinux" 12#endif 13 14/* Initial length guess for getting contexts. */ 15#define INITCONTEXTLEN 255 16 17/* selinux file system type */ 18#define SELINUXFS "selinuxfs" 19 20/* selinuxfs magic number */ 21#define SELINUX_MAGIC 0xf97cff8c 22 23/* Preferred selinux mount location */ 24#define SELINUXMNT "/sys/fs/selinux" 25#define OLDSELINUXMNT "/selinux" 26 27/* selinuxfs mount point */ 28extern char *selinux_mnt; 29 30#define FILECONTEXTS "/etc/security/selinux/file_contexts" 31 32#define DEFAULT_POLICY_VERSION 15 33 34#endif 35