Andi Kleen writes: > > Adding this infrastructure is just going to encourage people to do the > > wrong thing in future. I know we already have the input layer doing > > the wrong thing, and we need to hack around that, but I think the hack > > should be as small and self-contained as possible, rather than adding > > It won't be. It needs hacks in the system call entry part and > in other critical parts.
Unfortunately it's not just compat versions of read and write, there are pread/pwrite, and the various socket send and receive functions. The number of extra bits of infrastructure we need to add seems to just keep growing. On the other hand, with an is_compat_syscall() we could handle all of those with one piece of infrastructure. Paul.
