Developing SELinux Android is an essential step in building a comprehensive Android product. SELinux Policies are powerful; however, defining policies that use the entire spectrum of options requires substantial knowledge and experience.
After applying a new policy, make sure SELinux is running in the correct mode on the device by issuing the command getenforce. This prints the global SELinux mode: either Enforcing or Permissive.