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

Commit 5a05b861 authored by Naveen Kalla's avatar Naveen Kalla Committed by Ricardo Cerqueira
Browse files

Add group qcom_oncrpc and give permissions to ril-daemon and /dev/oncrpc

Change-Id: I022aae4a81c720a026ea6c1a41bda30acbe60224
parent 8df0d9c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@
#define AID_NET_ADMIN     3005  /* can configure interfaces and routing tables. */
#define AID_NET_BW_STATS  3006  /* read bandwidth statistics */
#define AID_NET_BW_ACCT   3007  /* change bandwidth statistics accounting */
#define AID_QCOM_ONCRPC   3008  /* can read/write /dev/oncrpc files */

#define AID_MISC          9998  /* access to misc storage */
#define AID_NOBODY        9999
@@ -132,6 +133,7 @@ static const struct android_id_info android_ids[] = {
    { "net_admin", AID_NET_ADMIN, },
    { "net_bw_stats", AID_NET_BW_STATS, },
    { "net_bw_acct", AID_NET_BW_ACCT, },
    { "qcom_oncrpc", AID_QCOM_ONCRPC, },
    { "misc",      AID_MISC, },
    { "nobody",    AID_NOBODY, },
};
+1 −1
Original line number Diff line number Diff line
@@ -395,7 +395,7 @@ service ril-daemon /system/bin/rild
    socket rild stream 660 root radio
    socket rild-debug stream 660 radio system
    user root
    group radio cache inet misc audio sdcard_rw log
    group radio cache inet misc audio sdcard_rw qcom_oncrpc diag

service surfaceflinger /system/bin/surfaceflinger
    class main