diff options
| author | 2013-04-12 14:49:38 -0400 | |
|---|---|---|
| committer | 2013-07-26 09:31:01 -0400 | |
| commit | bd19b9ee305c11d8aa3cbb105bf2d3a6b06389b5 (patch) | |
| tree | 3e73f156a13b94664c53aa1478af262d17661296 | |
| parent | d547bcec5634f99195a2b12522b6977f61c40d55 (diff) | |
Replace SEAndroid with SELinux.
Change-Id: Ibbe544a9f025d71ad416bc01cee2145b62d7b2d4
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
| -rw-r--r-- | core/java/android/os/Process.java | 4 | ||||
| -rw-r--r-- | core/java/com/android/internal/os/ZygoteConnection.java | 6 | 
2 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 476b4ea8d8cf..aaae3c728ff7 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -374,7 +374,7 @@ public class Process {       * @param gids Additional group-ids associated with the process.       * @param debugFlags Additional flags.       * @param targetSdkVersion The target SDK version for the app. -     * @param seInfo null-ok SE Android information for the new process. +     * @param seInfo null-ok SELinux information for the new process.       * @param zygoteArgs Additional arguments to supply to the zygote process.       *        * @return An object that describes the result of the attempt to start the process. @@ -554,7 +554,7 @@ public class Process {       * new process should setgroup() to.       * @param debugFlags Additional flags.       * @param targetSdkVersion The target SDK version for the app. -     * @param seInfo null-ok SE Android information for the new process. +     * @param seInfo null-ok SELinux information for the new process.       * @param extraArgs Additional arguments to supply to the zygote process.       * @return An object that describes the result of the attempt to start the process.       * @throws ZygoteStartFailedEx if process start failed for any reason diff --git a/core/java/com/android/internal/os/ZygoteConnection.java b/core/java/com/android/internal/os/ZygoteConnection.java index fd7e3b0eefe1..3381959667bf 100644 --- a/core/java/com/android/internal/os/ZygoteConnection.java +++ b/core/java/com/android/internal/os/ZygoteConnection.java @@ -803,7 +803,7 @@ class ZygoteConnection {      }      /** -     * Applies zygote security policy for SEAndroid information. +     * Applies zygote security policy for SELinux information.       *       * @param args non-null; zygote spawner arguments       * @param peer non-null; peer credentials @@ -822,7 +822,7 @@ class ZygoteConnection {          if (!(peerUid == 0 || peerUid == Process.SYSTEM_UID)) {              // All peers with UID other than root or SYSTEM_UID              throw new ZygoteSecurityException( -                    "This UID may not specify SEAndroid info."); +                    "This UID may not specify SELinux info.");          }          boolean allowed = SELinux.checkSELinuxAccess(peerSecurityContext, @@ -831,7 +831,7 @@ class ZygoteConnection {                                                       "specifyseinfo");          if (!allowed) {              throw new ZygoteSecurityException( -                    "Peer may not specify SEAndroid info"); +                    "Peer may not specify SELinux info");          }          return;  |