diff options
author | sobomax <sobomax@FreeBSD.org> | 2005-03-07 00:18:06 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2005-03-07 00:18:06 +0000 |
commit | f706f4bce8c8194eb57aa53603187eb626cd5131 (patch) | |
tree | 8060fc6bfd028932f4232dcc6812a19edbadbfc3 /sys/alpha/linux | |
parent | 78bc2de1cdfc0f5d0c7ed2b4d049425b2c0c4d30 (diff) | |
download | FreeBSD-src-f706f4bce8c8194eb57aa53603187eb626cd5131.zip FreeBSD-src-f706f4bce8c8194eb57aa53603187eb626cd5131.tar.gz |
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 <tlp@LiquidX.org>
Diffstat (limited to 'sys/alpha/linux')
-rw-r--r-- | sys/alpha/linux/syscalls.master | 4 |
1 files changed, 4 insertions, 0 deletions
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 <sys/param.h> #include <sys/sysent.h> #include <sys/sysproto.h> +#include <compat/linux/linux_sysproto.h> #include <alpha/linux/linux.h> #include <alpha/linux/linux_proto.h> +; 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 |