mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Andries Brouwer <Andries.Brouwer@cwi.nl>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [patch] silence nfs mount messages
Date: Mon, 29 Mar 2004 19:20:53 -0500	[thread overview]
Message-ID: <1080606053.2410.260.camel@lade.trondhjem.org> (raw)
In-Reply-To: <20040329234643.GB17179@apps.cwi.nl>

På må , 29/03/2004 klokka 18:46, skreiv Andries Brouwer:
> The present situation is that the kernel comes with messages when
> mount is recent and the kernel is old, and also when the kernel
> is recent and mount is old. I object to both.
> 
> Mount tries the latest version it knows about, when that fails
> goes back to an earlier version until either the mount succeeds
> or we give up. The same binary must work over a large range of
> kernel versions.

That will break functionality for the user, and sounds like a bug in
"mount". See my objection w.r.t. the user who thinks he is getting
secure authentication via RPCSEC_GSS.

> If you think that it would be terrible to have a nfs-v3 mount
> succeed on a kernel that knows about nfs-v4 then I would prefer
> to change the name of the filesystem to nfs4.

The changes you are complaining about have *NOTHING* whatsoever to do
with NFSv4, which already has its own filesystem name (yes: it is called
"nfs4") with its own struct nfs4_mount.


The 2 changes to the NFSv2/v3 mount structure are as follows:

        int             pseudoflavor;           /* 5 */
        char            context[NFS_MAX_CONTEXT_LEN + 1];       /* 6 */

"pseudoflavor" adds support for the RPCSEC_GSS authentication flavours,
so that people can use it for improving NFSv2/v3 security.

"context" is an SELinux construct for passing their security context
information (whatever that may be) down to their private handler.

See? no NFSv4...

Cheers,
  Trond

  reply	other threads:[~2004-03-30  0:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-29 19:00 Andries.Brouwer
2004-03-29 19:11 ` Trond Myklebust
2004-03-29 19:54   ` Andries Brouwer
2004-03-29 23:24     ` Trond Myklebust
2004-03-29 23:46       ` Andries Brouwer
2004-03-30  0:20         ` Trond Myklebust [this message]
2004-03-30  1:33           ` Andries Brouwer
2004-03-30  1:56             ` Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1080606053.2410.260.camel@lade.trondhjem.org \
    --to=trond.myklebust@fys.uio.no \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®