From c1d433597ed278a384a9a3bbf9bd2f566c2cd19b Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 1 Feb 2002 17:27:14 +0000 Subject: Made osigreturn(2) standard so that SYS_osigreturn can be used in the signal trampoline for old signals. The arches that support old signals currently abuse sigreturn(2) instead. This mainly complicates things and slightly breaks the the new sigreturn(2). COMPAT is too limited to support the correct configuration of osigreturn, and this commit doesn't attempt to fix it; it just moves the bogusness: osigreturn() must now be provided unconditionally even on arches that don't really need it; previously it had to be provided under the bogus condition defined(COMPAT_43). --- sys/kern/syscalls.master | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 7eb38c8..92aecac 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -172,7 +172,7 @@ 100 MSTD BSD { int getpriority(int which, int who); } 101 MCOMPAT BSD { int send(int s, caddr_t buf, int len, int flags); } 102 MCOMPAT BSD { int recv(int s, caddr_t buf, int len, int flags); } -103 COMPAT BSD { int sigreturn(struct osigcontext *sigcntxp); } +103 STD BSD { int osigreturn(struct osigcontext *sigcntxp); } 104 MSTD BSD { int bind(int s, caddr_t name, int namelen); } 105 MSTD BSD { int setsockopt(int s, int level, int name, \ caddr_t val, int valsize); } -- cgit v1.1