878c351a1c
The first reason for this rewrite is KNF conformance. The second reason is to avoid redundancy. Each function printed the same string, with only the syscall name being different. The actual printing is now performed by a single function, which gets the syscall name as an argument. The third reason is that of convenience. It's now very easy to add a new dummy implementation. Just add ``DUMMY(foo);'' to the file. It's also a lot easier now to see if a syscall has a dummy implementation or not. The dummies are ordered on syscall number. Please maintain this when adding new dummies (there're 32 candidates at the time of writing :-) Reviewed by: bde |
||
---|---|---|
.. | ||
linux_dummy.c | ||
linux_genassym.c | ||
linux_sysvec.c | ||
linux.h | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |