Re: [PATCH] crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN

2014-05-01 Thread Marek Vasut
On Wednesday, April 30, 2014 at 09:23:40 PM, Matthias-Christian Ott wrote: On 04/28/14 23:37, Marek Vasut wrote: On Friday, April 25, 2014 at 12:51:06 AM, Matthias-Christian Ott wrote: CRYPTO_USER requires CAP_NET_ADMIN for all operations. Most information provided by CRYPTO_MSG_GETALG is

Re: [PATCH] crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN

2014-04-30 Thread Matthias-Christian Ott
On 04/28/14 23:37, Marek Vasut wrote: On Friday, April 25, 2014 at 12:51:06 AM, Matthias-Christian Ott wrote: 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

Re: [PATCH] crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN

2014-04-28 Thread Marek Vasut
On Friday, April 25, 2014 at 12:51:06 AM, Matthias-Christian Ott wrote: 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

[PATCH] crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN

2014-04-24 Thread Matthias-Christian Ott
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,