• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revision50e1f7d79c65a9e2b18bd9b2ceb55ee6251f41bf (tree)
Time2016-08-24 23:11:25
AuthorDavid Ng <dave@code...>
CommiterLinux Build Service Account

Log Message

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

there is a conflict. Need to investigate the possibility of
moving the new AOSP AID out for OTA-type scenario

- Create/use mechanism to inject new AID's to the system without

changing the default AOSP definition file. The current mechanism
exists only for fs_config but not actual system ID's.

Change-Id: Ie286596a2e305a2bf188b658512e87cbea9b935c

Change Summary

Incremental Difference

--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -97,6 +97,9 @@
9797 /* The range 2900-2999 is reserved for OEM, and must never be
9898 * used here */
9999 #define AID_OEM_RESERVED_START 2900
100+
101+#define AID_QCOM_DIAG 2950 /* access to QTI diagnostic resources */
102+
100103 #define AID_OEM_RESERVED_END 2999
101104
102105 /* 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[] = {
201204 { "cache", AID_CACHE, },
202205 { "diag", AID_DIAG, },
203206
207+ { "qcom_diag", AID_QCOM_DIAG, },
208+
204209 { "net_bt_admin", AID_NET_BT_ADMIN, },
205210 { "net_bt", AID_NET_BT, },
206211 { "inet", AID_INET, },