From: Eric W. Biederman Date: Sun, 18 Nov 2012 21:34:11 +0000 (+0000) Subject: net: Allow userns root to control tun and tap devices X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~277 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c260b7722f8c21963d0f0347f7fc203da9ee1a6b;p=pandora-kernel.git net: Allow userns root to control tun and tap devices Allow an unpriviled user who has created a user namespace, and then created a network namespace to effectively use the new network namespace, by reducing capable(CAP_NET_ADMIN) calls to ns_capable(net->user_ns,CAP_NET_ADMIN) calls. Allow setting of the tun iff flags. Allow creating of tun devices. Allow adding a new queue to a tun device. Signed-off-by: "Eric W. Biederman" Acked-by: Serge Hallyn Signed-off-by: David S. Miller --- Reading git-diff-tree failed