summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSan Mehat2009-05-14 21:44:59 -0500
committerSan Mehat2009-05-15 12:40:29 -0500
commit4a6f2321e76685b9489d020980dffb1d9ac73fc0 (patch)
tree8cda80988b4a1ca1c1effc4e4019751895c0e681 /init/devices.c
parent5d6d417972f8d946c223c4efb9636b1ba4280543 (diff)
downloadplatform-system-core-4a6f2321e76685b9489d020980dffb1d9ac73fc0.tar.gz
platform-system-core-4a6f2321e76685b9489d020980dffb1d9ac73fc0.tar.xz
platform-system-core-4a6f2321e76685b9489d020980dffb1d9ac73fc0.zip
init: Create new 'vpn' user/group and set owner of '/dev/tun' to it.
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'init/devices.c')
-rw-r--r--init/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index b914c5398..c278607db 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -131,6 +131,7 @@ static struct perms_ devperms[] = {
131 { "/dev/qmi0", 0640, AID_RADIO, AID_RADIO, 0 }, 131 { "/dev/qmi0", 0640, AID_RADIO, AID_RADIO, 0 },
132 { "/dev/qmi1", 0640, AID_RADIO, AID_RADIO, 0 }, 132 { "/dev/qmi1", 0640, AID_RADIO, AID_RADIO, 0 },
133 { "/dev/qmi2", 0640, AID_RADIO, AID_RADIO, 0 }, 133 { "/dev/qmi2", 0640, AID_RADIO, AID_RADIO, 0 },
134 { "/dev/tun", 0640, AID_VPN , AID_VPN, 0 },
134 { NULL, 0, 0, 0, 0 }, 135 { NULL, 0, 0, 0, 0 },
135}; 136};
136 137