aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/status.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2018-03-01 17:38:30 -0500
committerPaul Moore <paul@paul-moore.com>2018-03-02 14:18:55 -0500
commite5a5ca96a42ca7eee19cf8694377308771350950 (patch)
tree84e47c0215d6e2e6e29df3077c55d8bec7c634ba /security/selinux/ss/status.c
parentselinux: wrap global selinux state (diff)
downloadlinux-dev-e5a5ca96a42ca7eee19cf8694377308771350950.tar.xz
linux-dev-e5a5ca96a42ca7eee19cf8694377308771350950.zip
selinux: rename the {is,set}_enforcing() functions
Rename is_enforcing() to enforcing_enabled() and enforcing_set() to set_enforcing(). Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/status.c')
-rw-r--r--security/selinux/ss/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/status.c b/security/selinux/ss/status.c
index 043efc59f8e4..a121de45ac0e 100644
--- a/security/selinux/ss/status.c
+++ b/security/selinux/ss/status.c
@@ -56,7 +56,7 @@ struct page *selinux_kernel_status_page(struct selinux_state *state)
status->version = SELINUX_KERNEL_STATUS_VERSION;
status->sequence = 0;
- status->enforcing = is_enforcing(state);
+ status->enforcing = enforcing_enabled(state);
/*
* NOTE: the next policyload event shall set
* a positive value on the status->policyload,