Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment