summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2018-03-01 21:06:11 +0900
committerLorenzo Colitti <lorenzo@google.com>2018-03-01 21:06:11 +0900
commitf4b4f4d43bafac1e50cdfc82ed34d60a3b99063e (patch)
tree0d6004652e2a3f6a646e627812383198318cee92 /core/java/android
parent86316a4b42e1d2fdb7dbac1e8b4b307f0c99340a (diff)
Add DNS_TETHER to the list of UIDs in the framework.
It has been reserved in android_filesystem_config.h since aosp/245632 in 2016, but was never included in the list of UIDs in Process.java. Bug: 29881876 Test: builds, boots Change-Id: I6d36d7d15634445d992a10087b5ba31b480f9f20
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/Process.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java
index 5e6f5f5dad5b..d693ee8d941a 100644
--- a/core/java/android/os/Process.java
+++ b/core/java/android/os/Process.java
@@ -140,6 +140,12 @@ public class Process {
public static final int CAMERASERVER_UID = 1047;
/**
+ * Defines the UID/GID for the tethering DNS resolver (currently dnsmasq).
+ * @hide
+ */
+ public static final int DNS_TETHER_UID = 1052;
+
+ /**
* Defines the UID/GID for the WebView zygote process.
* @hide
*/