system/corennnnn
Revision | 50e1f7d79c65a9e2b18bd9b2ceb55ee6251f41bf (tree) |
---|---|
Time | 2016-08-24 23:11:25 |
Author | David Ng <dave@code...> |
Commiter | Linux Build Service Account |
Add AID_QCOM_DIAG/qcom_diag (initial value)
Add new AID AID_QCOM_DIAG for access control to /dev/diag. The
number ID value is changed to be within the OEM range.
Note that this value deviated from past AID_QCOM_DIAG value, so
will be a problem for OTA.
Todo:
- The previous AID_QCOM_DIAG value is used by a new AOSP AID so
- Create/use mechanism to inject new AID's to the system without
Change-Id: Ie286596a2e305a2bf188b658512e87cbea9b935c
@@ -97,6 +97,9 @@ | ||
97 | 97 | /* The range 2900-2999 is reserved for OEM, and must never be |
98 | 98 | * used here */ |
99 | 99 | #define AID_OEM_RESERVED_START 2900 |
100 | + | |
101 | +#define AID_QCOM_DIAG 2950 /* access to QTI diagnostic resources */ | |
102 | + | |
100 | 103 | #define AID_OEM_RESERVED_END 2999 |
101 | 104 | |
102 | 105 | /* The 3000 series are intended for use as supplemental group id's only. |
@@ -201,6 +204,8 @@ static const struct android_id_info android_ids[] = { | ||
201 | 204 | { "cache", AID_CACHE, }, |
202 | 205 | { "diag", AID_DIAG, }, |
203 | 206 | |
207 | + { "qcom_diag", AID_QCOM_DIAG, }, | |
208 | + | |
204 | 209 | { "net_bt_admin", AID_NET_BT_ADMIN, }, |
205 | 210 | { "net_bt", AID_NET_BT, }, |
206 | 211 | { "inet", AID_INET, }, |