Messages in this thread |  | | | Date | Thu, 7 Jun 2007 15:22:47 -0700 (PDT) | | From | Davide Libenzi <> | | Subject | Re: [patch 7/8] fdmap v2 - implement sys_socket2 |
| |
On Thu, 7 Jun 2007, Linus Torvalds wrote:
> It has the disadvantage that it would need some per-architecture setup to > load the actual real arguments from memory: the system call would probably > look something like > > syscall_indirect(unsigned long flags, sigset_t *, > int syscall, unsigned long args[6]); > > and the rule would be that it would just load the six system call > registers from that "args[]" array. Always load the full six registers, to > make it simpler and faster, and not having any confusion or ever needing > any wrappers that depend on the number of system calls.
We'd still need sys_nonseqfd() though, to move/dup legacy fds into the non-sequential area.
- Davide
- 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/
|  |