diff options
author | William Bellavance <flintman@flintmancomputers.com> | 2016-08-30 09:28:06 -0400 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2018-08-10 16:56:26 +0300 |
commit | cd407619c2eb83d871e82f6be2efab790230fedd (patch) | |
tree | cf559851c2ea1dd92950b1319dc9aedef366d068 | |
parent | 0d8f825909d3e600facbf23be4758877f98c2602 (diff) | |
download | android_external_selinux-lineage-16.0.tar.gz android_external_selinux-lineage-16.0.tar.bz2 android_external_selinux-lineage-16.0.zip |
selinux: add selinux_status_getenforce to headerlineage-16.0
Change-Id: I2d6c366b7498d9760cb0bc21bade9b66b20815e9
-rw-r--r-- | libselinux/include/selinux/selinux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libselinux/include/selinux/selinux.h b/libselinux/include/selinux/selinux.h index 01201eee..173daeae 100644 --- a/libselinux/include/selinux/selinux.h +++ b/libselinux/include/selinux/selinux.h @@ -10,6 +10,8 @@ extern "C" { /* 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); +/* Return 1 if we are running on a enforced, or 0 if not or -1 if we get an error. */ +extern int selinux_status_getenforce(void); /* Return 1 if we are running on a SELinux MLS kernel, or 0 otherwise. */ extern int is_selinux_mls_enabled(void); |