All of lore.kernel.org
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: Pascal Schmidt <der.eremit@email.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFS & long symlinks = stack overflow
Date: Sat, 15 May 2004 15:53:06 +0100	[thread overview]
Message-ID: <20040515145306.GQ17014@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <E1BP0BI-0000lo-09@localhost>

On Sat, May 15, 2004 at 04:30:28PM +0200, Pascal Schmidt wrote:
> On Sat, 15 May 2004 16:00:21 +0200, you wrote in linux.kernel:
> 
> > Lovely.  The real limit imposed by client (apparently not enforced, though)
> > is PAGE_CACHE_SIZE - 4 - 1.  What are the protocol limits?
> 
> None. An NFSv3 server can enforce an arbitrary limit on filename length,
> advertised via PATHCONF, though.

Lovely...  How are other clients dealing with that?  Put a reasonable
limit on the size and return an error if READLINK brings more than that?

  reply	other threads:[~2004-05-15 14:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1W7yE-3lZ-13@gated-at.bofh.it>
     [not found] ` <1W7S5-3Am-13@gated-at.bofh.it>
2004-05-15 14:30   ` NFS & long symlinks = stack overflow Pascal Schmidt
2004-05-15 14:53     ` viro [this message]
2004-05-15 17:37       ` Trond Myklebust
2004-05-15 20:19         ` Oleg Drokin
2004-05-16  4:41         ` Linus Torvalds
2004-05-16  4:55           ` viro
2004-05-16 22:20             ` Trond Myklebust
2004-05-15 13:21 Oleg Drokin
2004-05-15 13:53 ` viro
2004-05-15 17:26   ` 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=20040515145306.GQ17014@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=der.eremit@email.de \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.