From d63cf7d85a9b334042b1cf07aa28dcd614ede279 Mon Sep 17 00:00:00 2001 From: Erik Kline Date: Wed, 6 Jul 2016 11:13:59 +0900 Subject: [PATCH] Add UIDs for system DNS and tethering DNS Bug: 29420831 Bug: 29881876 Change-Id: I7a48f980f0e52a3d322c4c02988d48fc6df643ca --- include/private/android_filesystem_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index e540de285..5ccd80e7a 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -92,6 +92,8 @@ #define AID_FIREWALL 1048 /* firewalld process */ #define AID_TRUNKS 1049 /* trunksd process (TPM daemon) */ #define AID_NVRAM 1050 /* Access-controlled NVRAM */ +#define AID_DNS 1051 /* DNS resolution daemon (system: netd) */ +#define AID_DNS_TETHER 1052 /* DNS resolution daemon (tether: dnsmasq) */ /* Changes to this file must be made in AOSP, *not* in internal branches. */ #define AID_SHELL 2000 /* adb and debug shell user */ @@ -203,6 +205,8 @@ static const struct android_id_info android_ids[] = { { "firewall", AID_FIREWALL, }, { "trunks", AID_TRUNKS, }, { "nvram", AID_NVRAM, }, + { "dns", AID_DNS, }, + { "dns_tether", AID_DNS_TETHER, }, { "shell", AID_SHELL, }, { "cache", AID_CACHE, },