On Sat, Jan 3, 2009 at 9:04 PM, Roman V. Shaposhnik <r...@sun.com> wrote:
> I'm confused. Is there any part of syspipe() that can NOT
> be done from userspace? Why does it have to be a syscall?
>
> P.S. I would also argue that sysdup() would seem to be superfluous
> if more feature-rich devdup was available.

I don't believe you can write a race-free implementation of
the pipe system call using #|.

I also don't believe you can implement the dup system call
(remember, it has two arguments) using #d.

If you disagree, show me the code.

Russ

Reply via email to