Lines Matching defs:SELinux

27  * SELinux interaction.
30 public class SELinux {
32 private static final String TAG = "SELinux";
35 * Determine whether SELinux is disabled or enabled.
36 * @return a boolean indicating whether SELinux is enabled.
41 * Determine whether SELinux is permissive or enforcing.
42 * @return a boolean indicating whether SELinux is enforcing.
47 * Set whether SELinux is permissive or enforcing.
48 * @param boolean representing whether to set SELinux to enforcing
98 * Gets a list of the SELinux boolean names.
99 * @return an array of strings containing the SELinux boolean names.
104 * Gets the value for the given SELinux boolean name.
105 * @param String The name of the SELinux boolean.
106 * @return a boolean indicating whether the SELinux boolean is set.
111 * Sets the value for the given SELinux boolean name.
112 * @param String The name of the SELinux boolean.
113 * @param Boolean The new value of the SELinux boolean.
129 * Restores a file to its default SELinux security context.
130 * If the system is not compiled with SELinux, then {@code true}
132 * If SELinux is compiled in, but disabled, then {@code true} is
145 * Restores a file to its default SELinux security context.
146 * If the system is not compiled with SELinux, then {@code true}
148 * If SELinux is compiled in, but disabled, then {@code true} is
157 * Restores a file to its default SELinux security context.
158 * If the system is not compiled with SELinux, then {@code true}
160 * If SELinux is compiled in, but disabled, then {@code true} is