NetBSD/sys/compat/linux
mycroft fb526e055c Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.
1998-09-11 12:50:05 +00:00
..
arch/i386 Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
common Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
i386 Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
include Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
multiarch Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
Makefile Added Linux compat code. 1995-02-28 23:24:35 +00:00
files.linux PR/4794: Urban Boquist: Linux cdrom ioctls are missing 1998-01-15 14:52:11 +00:00
linux_cdrom.c PR/4794: Urban Boquist: Linux cdrom ioctls are missing 1998-01-15 14:52:11 +00:00
linux_cdrom.h PR/4794: Urban Boquist: Linux cdrom ioctls are missing 1998-01-15 14:52:11 +00:00
linux_dirent.h Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
linux_errno.h Added Linux compat code. 1995-02-28 23:24:35 +00:00
linux_error.c Map ENOMSG. 1998-02-10 14:37:38 +00:00
linux_exec.c Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
linux_exec.h Prototype new functions. 1998-01-24 12:39:37 +00:00
linux_fcntl.h Added Linux compat code. 1995-02-28 23:24:35 +00:00
linux_file.c * Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}(). 1998-02-14 21:57:02 +00:00
linux_ioctl.c Add MIDI support. The MIDI devices can be accessed as ``raw'' through 1998-08-07 00:00:55 +00:00
linux_ioctl.h PR/4794: Urban Boquist: Linux cdrom ioctls are missing 1998-01-15 14:52:11 +00:00
linux_ipc.c Clean this up a bit. 1998-01-22 16:33:57 +00:00
linux_ipc.h Added Linux compat code. 1995-02-28 23:24:35 +00:00
linux_ipccall.h Implement the rest of the sysv ipc calls ({sem,msg}*()) 1995-08-15 21:14:32 +00:00
linux_misc.c Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
linux_mmap.h Added Linux compat code. 1995-02-28 23:24:35 +00:00
linux_msg.h Implement the rest of the sysv ipc calls ({sem,msg}*()) 1995-08-15 21:14:32 +00:00
linux_sem.h Implement the rest of the sysv ipc calls ({sem,msg}*()) 1995-08-15 21:14:32 +00:00
linux_shm.h Added Linux compat code. 1995-02-28 23:24:35 +00:00
linux_signal.c Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
linux_signal.h Substantial signal handling changes: 1998-09-11 12:50:05 +00:00
linux_socket.c Make this compile again, including Politically Correct const handling. 1996-12-22 23:00:02 +00:00
linux_socket.h Convert TCP socket options. 1995-05-28 10:16:32 +00:00
linux_socketcall.h Added Linux compat code. 1995-02-28 23:24:35 +00:00
linux_sockio.h Separate ioctl emulation by group. Add (minimal) audio emulation. 1996-03-08 04:55:59 +00:00
linux_syscall.h Regen again, to indicate which master revision these were generated from. 1998-08-07 17:21:35 +00:00
linux_syscallargs.h Regen again, to indicate which master revision these were generated from. 1998-08-07 17:21:35 +00:00
linux_syscalls.c Regen again, to indicate which master revision these were generated from. 1998-08-07 17:21:35 +00:00
linux_sysent.c Regen again, to indicate which master revision these were generated from. 1998-08-07 17:21:35 +00:00
linux_termios.c Prototyping changes. 1996-04-05 00:01:10 +00:00
linux_termios.h RCSID Police. 1998-01-05 17:51:27 +00:00
linux_types.h Update list of Linux syscalls and implement the ones that are likely to be 1996-05-20 01:59:09 +00:00
linux_util.h Assign copyright to TNF. 1998-09-05 14:50:25 +00:00
syscalls.conf Added Linux compat code. 1995-02-28 23:24:35 +00:00
syscalls.master Substantial signal handling changes: 1998-09-11 12:50:05 +00:00