All of lore.kernel.org
 help / color / mirror / Atom feed
* Why does CRYPTO_USER require CAP_NET_ADMIN?
@ 2014-04-05 14:43 Matthias-Christian Ott
  2014-04-24 22:51 ` [PATCH] crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN Matthias-Christian Ott
  0 siblings, 1 reply; 7+ messages in thread
From: Matthias-Christian Ott @ 2014-04-05 14:43 UTC (permalink / raw)
  To: linux-crypto

If I'm not mistaken, CRYPTO_USER requires CAP_NET_ADMIN for all
requests. Is there any reason for this requirement for read-only requests?

I think read-only requests should not require CAP_NET_ADMIN. An example
where this is important is important is AF_ALG. I'm working on AF_ALG
support for GnuTLS, encryption and decryption via AF_ALG does not
require special capabilities. However, retrieving the cipher priority to
determine whether the cipher is hardware accelerated does require
CAP_NET_ADMIN.

Regards,
Matthias-Christian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-08 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-05 14:43 Why does CRYPTO_USER require CAP_NET_ADMIN? Matthias-Christian Ott
2014-04-24 22:51 ` [PATCH] crypto: user - Allow CRYPTO_MSG_GETALG without CAP_NET_ADMIN Matthias-Christian Ott
2014-04-28 21:37   ` Marek Vasut
2014-04-30 19:23     ` Matthias-Christian Ott
2014-05-01 10:53       ` Marek Vasut
2014-05-03 23:45         ` Matthias-Christian Ott
2014-05-08 14:01   ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.