Re: openat()

From: dean gaudet (dean-list-linux-kernel_at_arctic.org)
Date: 11/09/05

  • Next message: Anton Altaparmakov: "Re: Accessing file mapped data inside the kernel"
    Date:	Wed, 9 Nov 2005 13:42:00 -0800 (PST)
    To: Ulrich Drepper <drepper@redhat.com>
    
    

    On Wed, 9 Nov 2005, Ulrich Drepper wrote:

    > 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.

    oh sweet i've always wanted this for perf improvements in multithreaded
    programs which have to deal with lots of lookups deep in a directory tree
    (especially over NFS).

    would this include other related syscalls such as link, unlink, rename,
    chown, chmod... so that the the virtualization of the "current working
    directory" concept is more complete?

    -dean
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Anton Altaparmakov: "Re: Accessing file mapped data inside the kernel"

    Relevant Pages

    • Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8
      ... But the preemption work about ... >> to stress these things in ways that was never designed to which is ... You use a semaphore to protect data, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • openat()
      ... I know Linus ... already declared this is a good idea and I can only stress that it is ... correct code which uses long pathnames since all these operations would ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: short read from /dev/urandom
      ... Followup to: ... By author: Ulrich Drepper ... In newsgroup: linux.dev.kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: oom killer gone nuts
      ... > Andries Brouwer wrote: ... >>But let me stress that I also consider the earlier situation ... at least you can set the ulimit based on the virtual sizes, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-19
      ... > Next step is really trying to increase the stress and look after when it ... This is a jackd issue, ... there's a jack patch, somewhere in the limbo, for queing all printable ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)