Commit Graph

21 Commits

Author SHA1 Message Date
christos b0b86b5b7f Defopt COMPAT_43 1998-12-10 17:03:19 +00:00
tron ccb04baa10 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:26:39 +00:00
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
thorpej 6b781d156f defopt NFSSERVER 1998-06-25 22:17:36 +00:00
thorpej 808867c7cf defopt KTRACE 1998-06-25 21:17:15 +00:00
christos f6cd9bf78b PR/5350: Minoura Makoto: add issetugid() syscall. (with fixes from me) 1998-05-02 18:14:06 +00:00
thorpej fcb761ac95 Include the NFS option header. 1998-02-19 00:36:03 +00:00
mycroft 1e948ee1c3 Put a local copy of the SysV IPC compatibility from compat/common in here, so
it's not dependent on COMPAT_10.  Also, fix translation of shmctl(), since
FreeBSD's is a little different.
1998-01-22 16:31:33 +00:00
veego 02444cbd23 Change syscall table to use the 1.3 compatibility sigaltstack() function
(fix from kleink).
1997-11-30 18:06:39 +00:00
christos 885404d216 Use stat12; from Enami Tsugutomo 1997-10-18 16:30:25 +00:00
christos 1d60a72b89 ostat -> stat43 1997-10-16 23:48:18 +00:00
mycroft 68fb837229 Fix a typo inherited from kern/syscalls.master. 1997-10-15 17:18:17 +00:00
enami 3c1a195715 lchown at #254. 1997-10-10 01:55:33 +00:00
fvdl b35ec5940b Channel FreeBSD getdirentries to our now obsolete getdirentries call. 1997-10-10 01:44:59 +00:00
thorpej 6f6452cc13 Use compat_12_sys_swapon(). 1997-06-13 19:11:42 +00:00
thorpej 12cb3aaf21 NFSCLIENT -> NFS 1997-01-31 02:17:46 +00:00
christos a9028f3d76 getlogin -> __getlogin 1996-09-20 16:19:27 +00:00
mycroft fdc697b5e9 Catch up with setre[ug]id() changes. 1996-06-23 11:17:50 +00:00
mycroft 28484180c7 Fix minor oversight. 1995-10-10 18:27:25 +00:00
mycroft e6d9bc8787 Fix typo. 1995-10-10 01:34:37 +00:00
mycroft 63bb46e733 FreeBSD binary compatibility module, from Noriyuki Soda. 1995-10-10 01:19:24 +00:00