Re: [patch] Assigning syscall numbers for testing

Benjamin LaHaise
2001-12-22T19:01:50Z

On Sat, Dec 22, 2001 at 10:28:55PM +1100, Keith Owens wrote:
> The patch below dynamically assigns a syscall number to a name and
> exports the number and name via /proc. Dynamic assignment removes the
> collision problem. Exporting via /proc allows user space code to
> automatically find out what the syscall number is this week. strace
> could read the /proc output to print the syscall name, although it
> still cannot print the arguments.

Doesn't work. You've still got problems running binaries compiled against
newer kernels (say, glibc supporting a new syscall) against the dynamic
syscall. Numbers don't work, plain and simple.

-ben