Re: [PATCH] [TRIVIAL] Documentation: Fix typo 'CONFIG_AFS'

From: David Howells
Date: Wed Jun 25 2014 - 05:29:47 EST


Paul Bolle <pebolle@xxxxxxxxxx> wrote:

> Perhaps AF_RXRPC should be dropped from this short list (it is selected
> if AFS_FS is set). But since I couldn't actually determine how AFS_FS
> and RXKAD interact I decided to not touch that list any further.

The key_type_rxrpc key that the AFS fs or userspace passes to AF_RXRPC
indicates the protocol that AF_RXRPC should use. The AFS fs doesn't need to
care how the security actually works and the token is opaque to it.

rxkad registers itself with AF_RXRPC, which maintains a list. The
security_index is the number that appears in the protocol that indicates the
security driver to use.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/