[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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list