commit | 8c644623fe7e41f59fe97cdf666cba3cb7ced7d8 | [log] [tgz] |
---|---|---|
author | Guido Guenther <agx@sigxcpu.org> | Mon Jul 02 22:50:25 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jul 10 22:16:42 2007 -0700 |
tree | 42ed72e59e73b6ec840aa4ea97a34630f3544093 | |
parent | 0ba48053831d5b89ee2afaefaae1c06eae80cb05 [diff] |
[NET]: Allow group ownership of TUN/TAP devices. Introduce a new syscall TUNSETGROUP for group ownership setting of tap devices. The user now is allowed to send packages if either his euid or his egid matches the one specified via tunctl (via -u or -g respecitvely). If both, gid and uid, are set via tunctl, both have to match. Signed-off-by: Guido Guenther <agx@sigxcpu.org> Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>