diff options
| author | William Bellavance <flintman@flintmancomputers.com> | 2016-08-30 09:28:06 -0400 |
|---|---|---|
| committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2019-09-05 11:51:35 +0200 |
| commit | 95cf71b84e88682b8f20d4c9c4727892a40340d1 (patch) | |
| tree | c3aa21e2a661b31322883e40078b150779e8b945 /libselinux/include/selinux/selinux.h | |
| parent | c4d3d93c335fbcd34b589b008ee27e5a2a590a43 (diff) | |
selinux: add selinux_status_getenforce to headerq10.0
Change-Id: I2d6c366b7498d9760cb0bc21bade9b66b20815e9
Diffstat (limited to 'libselinux/include/selinux/selinux.h')
| -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 a34d54fc..54b63967 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); |
