Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit c568398a authored by Matthias-Christian Ott's avatar Matthias-Christian Ott Committed by Herbert Xu
Browse files

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: default avatarMatthias-Christian Ott <ott@mirix.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent da37503d
Branches
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment