diff options
author | 2023-07-06 15:23:34 +0200 | |
---|---|---|
committer | 2023-07-18 18:29:50 -0400 | |
commit | c867248cf451964a14c64b4ca232055f117df9c1 (patch) | |
tree | a388122f9deb7dc755d79a3e2e8e5ce1f19bc8d0 /security/selinux/hooks.c | |
parent | selinux: fix implicit conversions in the symtab (diff) | |
download | linux-c867248cf451964a14c64b4ca232055f117df9c1.tar.gz linux-c867248cf451964a14c64b4ca232055f117df9c1.tar.bz2 linux-c867248cf451964a14c64b4ca232055f117df9c1.zip |
selinux: avoid implicit conversions regarding enforcing status
Use the type bool as parameter type in
selinux_status_update_setenforce(). The related function
enforcing_enabled() returns the type bool, while the struct
selinux_kernel_status member enforcing uses an u32.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
[PM: subject line tweaks]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions