public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@osdl.org>
Subject: openat()
Date: Wed, 09 Nov 2005 11:14:59 -0800	[thread overview]
Message-ID: <43724AB3.40309@redhat.com> (raw)

Can we please get the openat() syscall implemented?  I know Linus 
already declared this is a good idea and I can only stress that it is 
really essential for some things.  It is today impossible to write 
correct code which uses long pathnames since all these operations would 
require the use of chdir() which affect the whole POSIX process and not 
just one thread.  In addition we have the reduction of race conditions.

I remember having seen an implementation at some time.  Can somebody dig 
it up?  If there is nothing available I'll try to get some code submitted.

I'm ignoring the discussions about alternative streams for files here, 
so don't bother arguing with the.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

             reply	other threads:[~2005-11-09 19:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-09 19:14 Ulrich Drepper [this message]
2005-11-09 21:03 ` openat() Miklos Szeredi
2005-11-09 21:27   ` openat() Ulrich Drepper
2005-11-27 22:06   ` another reason to add openat in the kernel: efficiency Jim Meyering
2005-11-09 21:42 ` openat() dean gaudet
2005-11-09 21:55   ` openat() Nicholas Miell
2005-11-10  7:40   ` openat() Jeff Garzik
2005-11-10  7:48     ` openat() Ulrich Drepper
2005-11-10 10:01     ` openat() Jeff Garzik

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=43724AB3.40309@redhat.com \
    --to=drepper@redhat.com \
    --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