[NET]: Require CAP_NET_ADMIN to create tuntap devices.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 22 Jun 2006 23:07:52 +0000 (16:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 23 Jun 2006 09:07:44 +0000 (02:07 -0700)
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 <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found