summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-01 17:27:14 +0000
committerbde <bde@FreeBSD.org>2002-02-01 17:27:14 +0000
commitc1d433597ed278a384a9a3bbf9bd2f566c2cd19b (patch)
tree15ba8d944bee59f267b625ca9b1e5402b8311725 /sys
parent2911dcf482884986a4ee3fa4487ef44a341b1b4f (diff)
downloadFreeBSD-src-c1d433597ed278a384a9a3bbf9bd2f566c2cd19b.zip
FreeBSD-src-c1d433597ed278a384a9a3bbf9bd2f566c2cd19b.tar.gz
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).
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/syscalls.master2
1 files changed, 1 insertions, 1 deletions
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); }
OpenPOWER on IntegriCloud