freebsd-dev/sys
Marcel Moolenaar c5c6b7b38e Re-introduction of sigcontext.
struct sigcontext and ucontext_t/mcontext_t are defined in such
a way that both (ie struct sigcontext and ucontext_t) can be
passed on to sigreturn. The signal handler is still given a
ucontext_t for maximum flexibility.

For backward compatibility sigreturn restores the state for the
alternate signal stack from sigcontext.sc_onstack and not from
ucontext_t.uc_stack. A good way to determine which value the
application has set and thus which value to use, is still open
for discussion.

NOTE: This change should only affect those binaries that use
      sigcontext and/or ucontext_t. In the source tree itself
      this is only doscmd. Recompilation is required for those
      applications.

This commit also fixes a lot of style bugs without hopefully
adding new ones.

NOTE: struct sigaltstack.ss_size now has type size_t again. For
      some reason I changed that into unsigned int.

Parts submitted by: bde
sigaltstack bug found by: bde
1999-10-04 19:33:58 +00:00
..
alpha Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
amd64 Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
boot Fix world-breaking bug, add $FreeBSD$ tag. 1999-09-29 10:58:43 +00:00
cam Another 1FM@EOD quirk (from mike@sentex.net for a Seagate STT20000), 1999-10-02 20:17:16 +00:00
coda sigset_t change (part 2 of 5) 1999-09-29 15:03:48 +00:00
compat Oops. That'll teach me to commit without testing. I either replaced 1999-10-01 14:26:28 +00:00
compile
conf Fixed "misspelling" of bcmp as memcmp. memcmp doesn't exist in the 1999-10-03 07:09:31 +00:00
contrib Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
ddb $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dev Fix: WARNING: "iic" is usurping "iic"'s cdevsw[] - the DEV_DRIVER_MODULE() 1999-10-04 15:53:08 +00:00
fs Warn once per driver about dev_t's not registered with make_dev(). 1999-10-04 12:33:05 +00:00
geom Correct typo in comment. putccdbuf() releases a buffer, it doesn't allocate one. 1999-09-27 01:51:42 +00:00
gnu Remove the D_NOCLUSTER[RW] options which were added because vn had 1999-09-30 07:11:30 +00:00
i4b Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
i386 Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
isa Change pnp ID for the SupraExpress 56i Sp V.90 modem (logical ID 1999-10-03 22:25:19 +00:00
isofs/cd9660 Remove the D_NOCLUSTER[RW] options which were added because vn had 1999-09-30 07:11:30 +00:00
kern Fix style bug. 1999-10-04 18:29:51 +00:00
libkern $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
miscfs Warn once per driver about dev_t's not registered with make_dev(). 1999-10-04 12:33:05 +00:00
modules ncplib modules: bring up new ncp.ko and nwfs.ko 1999-10-02 06:32:36 +00:00
msdosfs More removals of vnode->v_lastr, replaced by preexisting seqcount 1999-09-20 23:27:58 +00:00
net Zap #include "tun.h" (for NTUN) - which isn't used anymore. 1999-09-27 00:55:29 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Fixed printf format errors (don't assume that ntohl() returns u_long; 1999-08-29 10:28:10 +00:00
netinet Properly handle the case when either the aliasing or source address of 1999-09-27 08:40:36 +00:00
netipx Get rid of the old XNS checksum code and implement it the IPX way. 1999-08-28 18:21:55 +00:00
netkey Fix a printf(3) formatter to match its variable. 1999-08-17 22:11:02 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netncp Fixed "misspelling" of bcmp as memcmp. memcmp doesn't exist in the 1999-10-03 07:09:31 +00:00
netns $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
nfsclient Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
nfsserver Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
ntfs Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
nwfs Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
pc98 Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
pccard *** empty log message *** 1999-09-26 21:52:43 +00:00
pci A band-aid to prevent multi-hose alpha chipsets (aka tsunami) from 1999-10-03 21:09:30 +00:00
posix4 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
powerpc sigset_t change (part 3 of 5) 1999-09-29 15:06:27 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 Oops. That'll teach me to commit without testing. I either replaced 1999-10-01 14:26:28 +00:00
sys Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
tools Update this to be able to output ASSERT_VOP_(UN)LOCKED() based on the 1999-09-26 18:31:51 +00:00
ufs Remove the D_NOCLUSTER[RW] options which were added because vn had 1999-09-30 07:11:30 +00:00
vm Introduce swopen to prevent blockdevice opens and insist on minor==0. 1999-10-04 13:09:30 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00