summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-10-26 17:38:20 +0000
committerjake <jake@FreeBSD.org>2002-10-26 17:38:20 +0000
commitce564f5edfeaaea1e6dc79f16bbbb2866c1668bc (patch)
tree3630fe3479eabd8b85767f79bdd0a5c0adefc0c6 /sys
parent83d0eead07e35f85212e67c3521136fc73dccba9 (diff)
downloadFreeBSD-src-ce564f5edfeaaea1e6dc79f16bbbb2866c1668bc.zip
FreeBSD-src-ce564f5edfeaaea1e6dc79f16bbbb2866c1668bc.tar.gz
Allow deprecated or unimplemented system call vectors to deliver SIGSYS,
as suggested by the sparc v9 ABI.
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/sparc64/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c
index 37f9b16..7601695 100644
--- a/sys/sparc64/sparc64/trap.c
+++ b/sys/sparc64/sparc64/trap.c
@@ -208,7 +208,7 @@ const int trap_sig[] = {
SIGILL, /* range check */
SIGILL, /* fix alignment */
SIGILL, /* integer overflow */
- -1, /* syscall */
+ SIGSYS, /* syscall */
-1, /* restore physical watchpoint */
-1, /* restore virtual watchpoint */
-1, /* kernel stack fault */
OpenPOWER on IntegriCloud