keys: Add capability-checking keyctl function
authorDavid Howells <dhowells@redhat.com>
Thu, 30 May 2019 13:53:10 +0000 (14:53 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 19 Jun 2019 12:27:45 +0000 (13:27 +0100)
commit45e0f30c30bb131663fbe1752974d6f2e39611e2
tree7679786ee974e03e277c871e68491921e491cdd8
parent47546208657f28007f41574c2d27a3fe760f987d
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>
include/uapi/linux/keyctl.h
security/keys/compat.c
security/keys/internal.h
security/keys/keyctl.c