From: Matthias-Christian Ott Date: Thu, 8 May 2014 13:58:12 +0000 (+0800) Subject: crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~2^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c568398aa05f852592d0e2b1dc893e6c5c14971c;p=pandora-kernel.git crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN CRYPTO_USER requires CAP_NET_ADMIN for all operations. Most information provided by CRYPTO_MSG_GETALG is also accessible through /proc/modules and AF_ALG. CRYPTO_MSG_GETALG should not require CAP_NET_ADMIN so that processes without CAP_NET_ADMIN can use CRYPTO_MSG_GETALG to get cipher details, such as cipher priorities, for AF_ALG. Signed-off-by: Matthias-Christian Ott Signed-off-by: Herbert Xu --- Reading git-diff-tree failed