Handle kernel having key/keyring ACLs

Handle the kernel using ACLs to store the list of permits for a key or
keyring:

 (1) Make the "keyctl supports" command show it

 (2) Change the behaviour of the keyctl/permitting/valid tests to take
     account of the fact that 'Other' permits are replaced with 'Everyone'
     permits and so are added to the other permits rather than being used
     as a fallback instead of the other permits.

Signed-off-by: David Howells <dhowells@redhat.com>
9 files changed