aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-05-14 19:44:59 -0700
committerSan Mehat <san@google.com>2009-05-15 10:40:29 -0700
commit4a6f2321e76685b9489d020980dffb1d9ac73fc0 (patch)
tree8cda80988b4a1ca1c1effc4e4019751895c0e681 /init
parent5d6d417972f8d946c223c4efb9636b1ba4280543 (diff)
downloadsystem_core-4a6f2321e76685b9489d020980dffb1d9ac73fc0.tar.gz
system_core-4a6f2321e76685b9489d020980dffb1d9ac73fc0.tar.bz2
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')
-rw-r--r--init/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c
index b914c539..c278607d 100644
--- a/init/devices.c
+++ b/init/devices.c
@@ -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 },
};