freebsd-dev/sys/i386
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
..
apm Prepare for the apm_saver screen saver module. 1999-10-02 03:34:15 +00:00
bios Prepare for the apm_saver screen saver module. 1999-10-02 03:34:15 +00:00
boot GC bdbtofsb() 1999-09-26 19:05:39 +00:00
conf Fixed "misspelling" of bcmp as memcmp. memcmp doesn't exist in the 1999-10-03 07:09:31 +00:00
eisa Turn off and remove the 'old' if_ep ISA/EISA/PCCARD driver. 1999-10-01 05:24:27 +00:00
i386 Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
ibcs2 sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
include Re-introduction of sigcontext. 1999-10-04 19:33:58 +00:00
isa Remove unused B_FORMAT #define 1999-10-04 07:40:23 +00:00
linux sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
pci $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
svr4 sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00