summaryrefslogtreecommitdiffstats
path: root/preload-selinux.h
blob: 5d24b3fced06815bb592c87c5d8acf2c61160878 (plain)
1
2
3
4
5
6
7
8
9
10
11
#define FFI_SCOPE "_REMI_SELINUX_"
#define FFI_LIB   "libselinux.so.1"

/* Copy/paste from selinux/*.h */

/* Return 1 if we are running on a SELinux kernel, or 0 if not or -1 if we get an error. */
extern int is_selinux_enabled(void);

/* Get the enforce flag value. */
extern int security_getenforce(void);