linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [TRIVIAL] Documentation: Fix typo 'CONFIG_AFS'
@ 2014-06-25  8:11 Paul Bolle
  2014-06-25  9:09 ` David Howells
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Bolle @ 2014-06-25  8:11 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: David Howells, linux-afs, linux-kernel

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
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.

 Documentation/filesystems/afs.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/filesystems/afs.txt b/Documentation/filesystems/afs.txt
index ffef91c4e0d6..5857253e2e1b 100644
--- a/Documentation/filesystems/afs.txt
+++ b/Documentation/filesystems/afs.txt
@@ -43,7 +43,7 @@ options:
 
 	CONFIG_AF_RXRPC		- The RxRPC protocol transport
 	CONFIG_RXKAD		- The RxRPC Kerberos security handler
-	CONFIG_AFS		- The AFS filesystem
+	CONFIG_AFS_FS		- The AFS filesystem
 
 Additionally, the following can be turned on to aid debugging:
 
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] [TRIVIAL] Documentation: Fix typo 'CONFIG_AFS'
  2014-06-25  8:11 [PATCH] [TRIVIAL] Documentation: Fix typo 'CONFIG_AFS' Paul Bolle
@ 2014-06-25  9:09 ` David Howells
  2014-06-25  9:40   ` Paul Bolle
  0 siblings, 1 reply; 3+ messages in thread
From: David Howells @ 2014-06-25  9:09 UTC (permalink / raw)
  To: Paul Bolle; +Cc: dhowells, Jiri Kosina, linux-afs, linux-kernel

Paul Bolle <pebolle@tiscali.nl> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] [TRIVIAL] Documentation: Fix typo 'CONFIG_AFS'
  2014-06-25  9:09 ` David Howells
@ 2014-06-25  9:40   ` Paul Bolle
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Bolle @ 2014-06-25  9:40 UTC (permalink / raw)
  To: David Howells; +Cc: Jiri Kosina, linux-afs, linux-kernel

On Wed, 2014-06-25 at 10:09 +0100, David Howells wrote:
> Paul Bolle <pebolle@tiscali.nl> 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.

Thanks. That would have taken me quite a bit of time to figure out.

I'll leave that short list as is, unless you prefer that I send a v2
dropping AF_RXRPC.


Paul Bolle


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-25  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25  8:11 [PATCH] [TRIVIAL] Documentation: Fix typo 'CONFIG_AFS' Paul Bolle
2014-06-25  9:09 ` David Howells
2014-06-25  9:40   ` Paul Bolle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).