Messages in this thread | | | From | RAMON_GARCIA_F <> | Date | Mon, 21 Jul 2003 19:04:29 +0200 | Subject | Re: Suggestion for a new system call: convert file handle to a cookie for transfering file handles between processes.) |
| |
Many of you have said that it is not a good thing to bloat the kernel with new system calls. But for that purpose, it is important to design the system interface in such way that primitives can be combined together to get any desired result.
This is the reason why Linux clone() is better than Solaris threads, why Unix fork()+execve() is better than Windows CreateProcess(). The former are more simple primitives. They encourage simple and thus less error prone code both in the kernel as in user space applications.
And that is exactly the reason why I like the interface that I designed. As opposed to transfer of handles through unix domain sockets, that is tied to unix sockets, my interface is more primitive. It is not tied to anything. You get a representation of a file handle, and then you can transfer it through a regular file, a pipe, ...
Ramon
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |