[Devel] Re: [RFC PATCH 0/5] Resend - Use procfs to change a syscall behavior

Paul Menage menage at google.com
Thu Jul 10 00:01:55 PDT 2008


On Wed, Jul 9, 2008 at 11:54 PM, Nadia Derbey <Nadia.Derbey at bull.net> wrote:
>
> Don't you think it's simpler to specify the target fd, and then open the
> file.

Maybe. But:

- this can already be done without extra kernel support, via open()
followed by dup2()

- if you were going to add it to the kernel, the precedent set by
openat() is that you create a new system call that supports the
extended semantics.


Paul


More information about the Containers mailing list