From: David Woodhouse <dwmw2@infradead.org>
Date: Thu, 08 Mar 2007 23:01:13 +0000
David, thanks for this __incredibly__ __useful__ patch. I kicked it
around on sparc64 and found some more ignores to add, see below.
The vast majority of them vector to sys_ni_syscall in the i386 syscall
table.
sys_ugetrlimit is only necessary if the platform started out
using the non-SuS compliant sys_old_getrlimit()
The rest, like ioperm, iopl, modify_ldt, et al. are i386
specific.
Signed-off-by: David S. Miller <davem@davemloft.net>
--- a/init/missing_syscalls.c.ORIG 2007-03-08 16:11:00.000000000 -0800
+++ b/init/missing_syscalls.c 2007-03-08 16:02:30.000000000 -0800
@@ -18,6 +18,22 @@
#endif
/* i386-specific or historical system calls */
+#define __IGNORE_break
+#define __IGNORE_stty
+#define __IGNORE_gtty
+#define __IGNORE_ftime
+#define __IGNORE_prof
+#define __IGNORE_lock
+#define __IGNORE_mpx
+#define __IGNORE_ulimit
+#define __IGNORE_profil
+#define __IGNORE_ioperm
+#define __IGNORE_iopl
+#define __IGNORE_idle
+#define __IGNORE_modify_ldt
+#define __IGNORE_getpmsg
+#define __IGNORE_putpmsg
+#define __IGNORE_ugetrlimit
#define __IGNORE_mmap2
#define __IGNORE_vm86
#define __IGNORE_vm86old
-