Home
last modified time | relevance | path

Searched hist:c867248c (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/security/selinux/
H A Dstatus.cc867248c Thu Jul 06 08:23:34 CDT 2023 Christian Göttsche <cgzones@googlemail.com> 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>
H A Dselinuxfs.cc867248c Thu Jul 06 08:23:34 CDT 2023 Christian Göttsche <cgzones@googlemail.com> 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>
/openbmc/linux/security/selinux/include/
H A Dsecurity.hc867248c Thu Jul 06 08:23:34 CDT 2023 Christian Göttsche <cgzones@googlemail.com> 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>