getenforce
Shows whether SELinux is disabled, enforcing, or permissive. toybox
On Linux
Linux
getenforce
Linux
Get the current mode of SELinux (i.e. enforcing, permissive, or disabled).
Display the current mode of SELinux
getenforceIdentify