diff options
author | Nick Kralevich <nnk@google.com> | 2015-03-13 18:02:46 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-13 18:02:47 +0000 |
commit | 30fcd2aa8a87ca97e1d6dbc3203c3a485a56dac9 (patch) | |
tree | 313f7f7130b7cb38be750f88c861c4a2f495b372 /core/java/android | |
parent | f1654c6015dbf30b7dae3575d787ca141ae84028 (diff) | |
parent | 16d1cce8ffe632c1283375beb4c82c67c43e13dd (diff) | |
download | frameworks_base-30fcd2aa8a87ca97e1d6dbc3203c3a485a56dac9.zip frameworks_base-30fcd2aa8a87ca97e1d6dbc3203c3a485a56dac9.tar.gz frameworks_base-30fcd2aa8a87ca97e1d6dbc3203c3a485a56dac9.tar.bz2 |
Merge "Drop unusable SELinux APIs."
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/os/SELinux.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/core/java/android/os/SELinux.java b/core/java/android/os/SELinux.java index 84aa427..2773da5 100644 --- a/core/java/android/os/SELinux.java +++ b/core/java/android/os/SELinux.java @@ -50,13 +50,6 @@ public class SELinux { public static final native boolean isSELinuxEnforced(); /** - * Set whether SELinux is permissive or enforcing. - * @param value representing whether to set SELinux to enforcing - * @return a boolean representing whether the desired mode was set - */ - public static final native boolean setSELinuxEnforce(boolean value); - - /** * Sets the security context for newly created file objects. * @param context a security context given as a String. * @return a boolean indicating whether the operation succeeded. @@ -99,27 +92,6 @@ public class SELinux { public static final native String getPidContext(int pid); /** - * Gets a list of the SELinux boolean names. - * @return an array of strings containing the SELinux boolean names. - */ - public static final native String[] getBooleanNames(); - - /** - * Gets the value for the given SELinux boolean name. - * @param name The name of the SELinux boolean. - * @return a boolean indicating whether the SELinux boolean is set. - */ - public static final native boolean getBooleanValue(String name); - - /** - * Sets the value for the given SELinux boolean name. - * @param name The name of the SELinux boolean. - * @param value The new value of the SELinux boolean. - * @return a boolean indicating whether or not the operation succeeded. - */ - public static final native boolean setBooleanValue(String name, boolean value); - - /** * Check permissions between two security contexts. * @param scon The source or subject security context. * @param tcon The target or object security context. |