From 0f36f9dad8df7319536f9d6af4bab1c85f19a11b Mon Sep 17 00:00:00 2001 From: Skylar Chang Date: Tue, 20 Oct 2015 15:10:34 -0700 Subject: [PATCH] init script: Change IPA dev nodes to system UID For more secure, the HLOS framework process can't run as net_admin, it only has system privilege. Therefore those IPA device nodes which HLOS framework process needs to access should be put as system UID but with net_admin GID for IPACM to configure rules in IPA-HW when device bootup. Change-Id: I445aa23d01ad6606e8e140e3aaa0c03e0d11481c --- rootdir/etc/ueventd.qcom.rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 67504117..85d9bd39 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -42,8 +42,8 @@ /dev/smd6 0660 system system /dev/smd7 0660 bluetooth bluetooth /dev/ccid_bridge 0660 system system -/dev/ipa 0660 net_admin net_admin -/dev/wwan_ioctl 0660 net_admin net_admin +/dev/ipa 0660 system net_admin +/dev/wwan_ioctl 0660 system net_admin /dev/ipaNatTable 0660 net_admin net_admin /dev/rmnet_ctrl 0660 usb usb /dev/dpl_ctrl 0660 usb usb @@ -232,4 +232,4 @@ #ImproveTouch device /dev/hbtp_input 0660 system system -/dev/hbtp_vm 0660 system system \ No newline at end of file +/dev/hbtp_vm 0660 system system