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/
- References:
- Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
- Re: Syslets, Threadlets, generic AIO support, v6
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]