Merge change 1778 into donut
* changes: init: Create new 'vpn' user/group and set owner of '/dev/tun' to it.
This commit is contained in:
commit
b415390e74
2 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
|||
#define AID_MEDIA 1013 /* mediaserver process */
|
||||
#define AID_DHCP 1014 /* dhcp client */
|
||||
#define AID_SDCARD_RW 1015 /* external storage write access */
|
||||
#define AID_VPN 1016 /* vpn system */
|
||||
|
||||
#define AID_SHELL 2000 /* adb and debug shell user */
|
||||
#define AID_CACHE 2001 /* cache access */
|
||||
|
@ -95,6 +96,7 @@ static struct android_id_info android_ids[] = {
|
|||
{ "net_bt_admin", AID_NET_BT_ADMIN, },
|
||||
{ "net_bt", AID_NET_BT, },
|
||||
{ "sdcard_rw", AID_SDCARD_RW, },
|
||||
{ "vpn", AID_VPN, },
|
||||
{ "inet", AID_INET, },
|
||||
{ "net_raw", AID_NET_RAW, },
|
||||
{ "misc", AID_MISC, },
|
||||
|
|
|
@ -131,6 +131,7 @@ static struct perms_ devperms[] = {
|
|||
{ "/dev/qmi0", 0640, AID_RADIO, AID_RADIO, 0 },
|
||||
{ "/dev/qmi1", 0640, AID_RADIO, AID_RADIO, 0 },
|
||||
{ "/dev/qmi2", 0640, AID_RADIO, AID_RADIO, 0 },
|
||||
{ "/dev/tun", 0640, AID_VPN , AID_VPN, 0 },
|
||||
{ NULL, 0, 0, 0, 0 },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue