From: David Woodhouse Date: Thu, 22 Jun 2006 23:07:52 +0000 (-0700) Subject: [NET]: Require CAP_NET_ADMIN to create tuntap devices. X-Git-Tag: v2.6.18-rc1~1081^2~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca6bb5d7ab22ac79f608fe6cbc6b12de6a5a19f0;p=pandora-kernel.git [NET]: Require CAP_NET_ADMIN to create tuntap devices. The tuntap driver allows an admin to create persistent devices and assign ownership of them to individual users. Unfortunately, relaxing the permissions on the /dev/net/tun device node so that they can actually use those devices will _also_ allow those users to create arbitrary new devices of their own. This patch corrects that, and adjusts the recommended permissions for the device node accordingly. Signed-off-By: David Woodhouse Signed-off-by: David S. Miller --- Reading git-diff-tree failed