resolved conflicts for merge of abb08550
to master
This commit is contained in:
commit
60a4cd5e34
|
@ -62,6 +62,7 @@
|
|||
#define AID_NET_BT 3002 /* bluetooth: create sco, rfcomm or l2cap sockets */
|
||||
#define AID_INET 3003 /* can create AF_INET and AF_INET6 sockets */
|
||||
#define AID_NET_RAW 3004 /* can create raw INET sockets */
|
||||
#define AID_NET_ADMIN 3005 /* can configure interfaces and routing tables. */
|
||||
|
||||
#define AID_MISC 9998 /* access to misc storage */
|
||||
#define AID_NOBODY 9999
|
||||
|
@ -101,6 +102,7 @@ static struct android_id_info android_ids[] = {
|
|||
{ "keystore", AID_KEYSTORE, },
|
||||
{ "inet", AID_INET, },
|
||||
{ "net_raw", AID_NET_RAW, },
|
||||
{ "net_admin", AID_NET_ADMIN, },
|
||||
{ "misc", AID_MISC, },
|
||||
{ "nobody", AID_NOBODY, },
|
||||
};
|
||||
|
@ -135,7 +137,7 @@ static struct fs_path_config android_dirs[] = {
|
|||
{ 00750, AID_ROOT, AID_SHELL, "sbin" },
|
||||
{ 00755, AID_ROOT, AID_SHELL, "system/bin" },
|
||||
{ 00755, AID_ROOT, AID_SHELL, "system/xbin" },
|
||||
{ 00777, AID_ROOT, AID_ROOT, "system/etc/ppp" }, /* REMOVE */
|
||||
{ 00755, AID_ROOT, AID_ROOT, "system/etc/ppp" },
|
||||
{ 00777, AID_ROOT, AID_ROOT, "sdcard" },
|
||||
{ 00755, AID_ROOT, AID_ROOT, 0 },
|
||||
};
|
||||
|
@ -147,20 +149,18 @@ static struct fs_path_config android_dirs[] = {
|
|||
** and will allow partial matches.
|
||||
*/
|
||||
static struct fs_path_config android_files[] = {
|
||||
{ 00555, AID_ROOT, AID_ROOT, "system/etc/ppp/ip-up" },
|
||||
{ 00555, AID_ROOT, AID_ROOT, "system/etc/ppp/ip-down" },
|
||||
{ 00440, AID_ROOT, AID_SHELL, "system/etc/init.goldfish.rc" },
|
||||
{ 00550, AID_ROOT, AID_SHELL, "system/etc/init.goldfish.sh" },
|
||||
{ 00440, AID_ROOT, AID_SHELL, "system/etc/init.trout.rc" },
|
||||
{ 00550, AID_ROOT, AID_SHELL, "system/etc/init.ril" },
|
||||
{ 00550, AID_ROOT, AID_SHELL, "system/etc/init.testmenu" },
|
||||
{ 00550, AID_ROOT, AID_SHELL, "system/etc/init.gprs-pppd" },
|
||||
{ 00550, AID_DHCP, AID_SHELL, "system/etc/dhcpcd/dhcpcd-run-hooks" },
|
||||
{ 00440, AID_BLUETOOTH, AID_BLUETOOTH, "system/etc/dbus.conf" },
|
||||
{ 00440, AID_BLUETOOTH, AID_BLUETOOTH, "system/etc/bluez/main.conf" },
|
||||
{ 00440, AID_BLUETOOTH, AID_BLUETOOTH, "system/etc/bluez/input.conf" },
|
||||
{ 00440, AID_BLUETOOTH, AID_BLUETOOTH, "system/etc/bluez/audio.conf" },
|
||||
{ 00440, AID_RADIO, AID_AUDIO, "/system/etc/AudioPara4.csv" },
|
||||
{ 00440, AID_RADIO, AID_AUDIO, "system/etc/AudioPara4.csv" },
|
||||
{ 00555, AID_ROOT, AID_ROOT, "system/etc/ppp/*" },
|
||||
{ 00644, AID_SYSTEM, AID_SYSTEM, "data/app/*" },
|
||||
{ 00644, AID_SYSTEM, AID_SYSTEM, "data/app-private/*" },
|
||||
{ 00644, AID_APP, AID_APP, "data/data/*" },
|
||||
|
|
|
@ -140,7 +140,8 @@ static struct perms_ devperms[] = {
|
|||
{ "/dev/qmi2", 0640, AID_RADIO, AID_RADIO, 0 },
|
||||
/* CDMA radio interface MUX */
|
||||
{ "/dev/ts0710mux", 0640, AID_RADIO, AID_RADIO, 1 },
|
||||
{ "/dev/tun", 0640, AID_VPN , AID_VPN, 0 },
|
||||
{ "/dev/ppp", 0660, AID_RADIO, AID_VPN, 0 },
|
||||
{ "/dev/tun", 0640, AID_VPN, AID_VPN, 0 },
|
||||
{ NULL, 0, 0, 0, 0 },
|
||||
};
|
||||
|
||||
|
|
|
@ -67,6 +67,8 @@ struct {
|
|||
{ "wlan.", AID_SYSTEM },
|
||||
{ "dhcp.", AID_SYSTEM },
|
||||
{ "dhcp.", AID_DHCP },
|
||||
{ "vpn.", AID_SYSTEM },
|
||||
{ "vpn.", AID_VPN },
|
||||
{ "debug.", AID_SHELL },
|
||||
{ "log.", AID_SHELL },
|
||||
{ "service.adb.root", AID_SHELL },
|
||||
|
|
Loading…
Reference in New Issue