keys: Add capability-checking keyctl function

Add a keyctl function that requests a set of capability bits to find out
what features are supported.

Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
David Howells 2019-05-30 14:53:10 +01:00
commit 45e0f30c30
4 changed files with 54 additions and 0 deletions