Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b198304a authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli Committed by Linux Build Service Account
Browse files

diag: Add new qcom_diag group to access /dev/diag

This change adds the definition of qcom_diag and
also modify the /dev/diag node group to qcom_diag.

Change-Id: I07bd099c76f3fd2685f3a6698e37314a0a2c8f44
parent 9465c186
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@
#define AID_NET_BW_STATS  3006  /* read bandwidth statistics */
#define AID_NET_BW_ACCT   3007  /* change bandwidth statistics accounting */
#define AID_NET_BT_STACK  3008  /* bluetooth: access config files */
#define AID_QCOM_DIAG     3009  /* can read/write /dev/diag */

#define AID_RFS           3012  /* Remote Filesystem for peripheral processors */
#define AID_RFS_SHARED    3013  /* Shared files for Remote Filesystem for peripheral processors  */
@@ -175,6 +176,7 @@ static const struct android_id_info android_ids[] = {
    { "shell",         AID_SHELL, },
    { "cache",         AID_CACHE, },
    { "diag",          AID_DIAG, },
    { "qcom_diag",     AID_QCOM_DIAG, },

    { "net_bt_admin",  AID_NET_BT_ADMIN, },
    { "net_bt",        AID_NET_BT, },
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ subsystem adf
/dev/dri/*                0666   root       graphics

# these should not be world writable
/dev/diag                 0660   radio      radio
/dev/diag                 0660   system     qcom_diag
/dev/diag_arm9            0660   radio      radio
/dev/android_adb          0660   adb        adb
/dev/android_adb_enable   0660   adb        adb