Posted Nov 21, 2007 9:51 UTC (Wed) by michaeljt (subscriber, #39183)
Parent article: sys_indirect()
A rather different way of dealing with this problem would be to just change the system call
interface, add marking to binaries which use the new interface (perhaps even with an syscall
interface version field) and provide a mechanism for a userspace wrapper, which could be
loaded by ld.so if needed, to translate system calls for old binaries. The mechanism could
(but need not necessarily) be something similar to ptrace. Since almost all binaries on a
Linux system are built for that system, the mechanism would only need to be a fallback.