keys: Grant Link permission to possessers of request_key auth keys
authorDavid Howells <dhowells@redhat.com>
Mon, 20 May 2019 20:51:43 +0000 (21:51 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 30 May 2019 21:54:43 +0000 (22:54 +0100)
commitf7f1394576563b7096fe858fb178bcaedfa0b245
treeac5b9efbe2d73ccbfb2257aef6ffb28decdd1fd4
parented0ac5c7ec3763e3261c48e3c5d4b7528b60fd85
keys: Grant Link permission to possessers of request_key auth keys

Grant Link permission to the possessers of request_key authentication keys,
thereby allowing a daemon that is servicing upcalls to arrange things such
that only the necessary auth key is passed to the actual service program
and not all the daemon's pending auth keys.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jamorris@linux.microsoft.com>
security/keys/request_key_auth.c