From: "Jochen Voß" <voss@seehuhn.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Roland McGrath <roland@redhat.com>,
Benjamin LaHaise <bcrl@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH 1/2] avoid OPEN_MAX in SCM_MAX_FD
Date: Wed, 14 Mar 2007 09:45:09 +0000 [thread overview]
Message-ID: <A641066C-5E6B-459E-8244-87ECAB378583@seehuhn.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0703131814160.9690@woody.linux-foundation.org>
Hi,
On 14 Mar 2007, at 01:15, Linus Torvalds wrote:
> On Tue, 13 Mar 2007, Roland McGrath wrote:
>> Ok, fine. But PATH_MAX is a real constant that has some meaning
>> in the
>> kernel. It's perfectly correct to use PATH_MAX as a constant on a
>> system
>> like Linux that defines it and means what it says. Conversely,
>> OPEN_MAX
>> has no useful relationship with anything the kernel is doing at all.
>
> Sure. I'm just saying that some people may use OPEN_MAX the way I know
> people use PATH_MAX - whether it's what you're supposed to or not.
To contribute a data point here: searching for the regular expression
\[\ *OPEN_MAX\ *\]
on google code search [1] gives 25 hits for me. Replacing OPEN_MAX
with PATH_MAX results in "about 19,700" hits.
[1] http://www.google.com/codesearch?hl=en&q=+%5C%5B%5C+*OPEN_MAX%5C+*
%5C%5D&start=20&sa=N
I hope this helps,
Jochen
--
http://seehuhn.de/
next prev parent reply other threads:[~2007-03-14 10:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 8:39 [PATCH 1/2] avoid OPEN_MAX in SCM_MAX_FD Roland McGrath
2007-03-13 14:17 ` Benjamin LaHaise
2007-03-13 20:02 ` Roland McGrath
2007-03-13 21:28 ` Linus Torvalds
2007-03-14 0:55 ` Roland McGrath
2007-03-14 1:15 ` Linus Torvalds
2007-03-14 9:45 ` Jochen Voß [this message]
2007-03-14 19:52 ` Olaf Kirch
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=A641066C-5E6B-459E-8244-87ECAB378583@seehuhn.de \
--to=voss@seehuhn.de \
--cc=akpm@linux-foundation.org \
--cc=bcrl@kvack.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=roland@redhat.com \
--cc=torvalds@linux-foundation.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;
as well as URLs for NNTP newsgroup(s).