From f706f4bce8c8194eb57aa53603187eb626cd5131 Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 7 Mar 2005 00:18:06 +0000 Subject: Handle unimplemented syscall by instantly returning ENOSYS instead of sending signal first and only then returning ENOSYS to match what real linux does. PR: kern/74302 Submitted by: Travis Poppe --- sys/alpha/linux/syscalls.master | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/alpha/linux') diff --git a/sys/alpha/linux/syscalls.master b/sys/alpha/linux/syscalls.master index 250ede3..d9dff45 100644 --- a/sys/alpha/linux/syscalls.master +++ b/sys/alpha/linux/syscalls.master @@ -31,9 +31,13 @@ #include #include #include +#include #include #include +; Isn't pretty, but there seems to be no other way to trap nosys +#define nosys linux_nosys + ; #ifdef's, etc. may be included, and are copied to the output files. 0 UNIMPL -- cgit v1.1