On Wed, 30 May 2007, Ulrich Drepper wrote: > You also have to be aware that open() is just one piece of the puzzle. > What about socket()? I've cursed this interface many times before and > now it's biting you: there is parameter to pass a flag. What about > transferring file descriptors via Unix domain sockets? How can I decide > the transferred descriptor should be in the private namespace?
Well, we can't just replicate/change every system call that creates a file descriptor. So I'm for something like: int sys_fdup(int fd, int flags); So you basically create your fds with their native/existing system calls, and then you dup/move them into the prefered fd space. - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/