All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: Re: Use PATH_MAX for pathname char arrays.
Date: Fri, 4 Apr 2008 16:17:20 +0200	[thread overview]
Message-ID: <20080404141720.GB4075@implementation> (raw)

Hello,

Using PATH_MAX is not a good idea: POSIX says that that definition
is facultative, in case the system does not impose any limit on path
length.  Some systems may also set PATH_MAX to a quite high value, and
we would hence consume a lot of stack.

Samuel

             reply	other threads:[~2008-04-04 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 14:17 Samuel Thibault [this message]
2008-04-04 14:30 ` Re: Use PATH_MAX for pathname char arrays Keir Fraser
2008-04-04 14:51   ` Samuel Thibault

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=20080404141720.GB4075@implementation \
    --to=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.