Commit Graph

43580 Commits

Author SHA1 Message Date
hubertf 923fd93941 use symbolic constant for open(), PR#5867 1998-09-11 14:26:19 +00:00
hubertf 9a9bb90e33 fix main() prototype, per PR#5867 1998-09-11 14:25:22 +00:00
christos f2243822f3 PR/5793: Fix core dump caused by input strings more than 127 characters
in length when readline is used (rl_len was a *char*!!!). Undo disabling
of readline (this fix was like ``finger hurts, cut hand'') I guess PR/5793
is already closed...
1998-09-11 14:20:30 +00:00
hubertf eb2507ecb2 fix prototype, per PR#5867 1998-09-11 14:11:57 +00:00
hubertf 3fd99e1631 fix prototypes, per PR#5867 1998-09-11 14:09:27 +00:00
hubertf 0ef663b102 fix prototype of mon_sees(), per PR#5867 1998-09-11 14:07:51 +00:00
hubertf d4741e5a86 be more precise for PI, as per PR5867 1998-09-11 14:07:04 +00:00
hubertf e1627357ea use symbolic constants for signals & open(2), as per PR#5867 1998-09-11 13:54:08 +00:00
hubertf c31c912667 remove unneeded typedef for TTYB, as per PR#5867 1998-09-11 13:46:30 +00:00
hubertf f52826a170 fix main() prototype, as per PR#5867 1998-09-11 13:42:03 +00:00
mycroft 62ea009b0e Update for signal handling changes. 1998-09-11 13:31:39 +00:00
pk 470227cc3b Check that the `current directory' is still mounted before dropping core in it. 1998-09-11 13:25:20 +00:00
mycroft a2d9c7ed82 Use the context flag bits. 1998-09-11 13:22:45 +00:00
hubertf 20de87e848 fix main() prototype, as per PR#5867 1998-09-11 13:19:50 +00:00
hubertf 5f5c04f636 remove unused args from main(), as per PR#5867 1998-09-11 13:16:05 +00:00
hubertf f90c041018 fix typo, as per PR#5867 1998-09-11 13:06:30 +00:00
hubertf 4ccf0d9755 better define PI, plus improve prototype (PR#5867) 1998-09-11 12:53:28 +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
hubertf 4e2ece1035 remove main() prototype, as per PR 6867 1998-09-11 12:46:26 +00:00
mycroft 11ac489856 Stylistic change. 1998-09-11 12:34:46 +00:00
mycroft 932a812de4 Speed up syscall() slightly in a few cases. 1998-09-11 12:23:44 +00:00
kleink 1fd2228f99 Restore `elsieid' accidently clobbered during merge. 1998-09-11 11:35:21 +00:00
kleink 645061225a Replace `unix' in two feature tests (slid through my test machine's compiler
update window).
1998-09-11 10:55:55 +00:00
frueauf e09f07e643 Don't define READLINE, have a look at pr 5793 for a testcase where this
causes bc to coredump.
1998-09-11 10:14:30 +00:00
mycroft a50da02192 Oops; update usage message. 1998-09-11 07:22:13 +00:00
mycroft f193968581 Add isc, sco, and bsdos 3-field format. 1998-09-11 07:20:48 +00:00
mycroft 3fd5504ed3 Change .Bsx output slightly. 1998-09-11 07:19:07 +00:00
eeh cf009bcc7a Add sparc64-specific libc. 1998-09-11 04:56:19 +00:00
eeh 07e25081fe Add sparc64-specific stuff. 1998-09-11 03:36:23 +00:00
eeh 526dbbab7e Add labels for the compat_sparc32 signal trampoline and break -- er -- fix
suword and fuword.
1998-09-11 00:16:59 +00:00
eeh 6736de02e8 A (slightly modified) version of tv's fix for va_args for kern_printf. 1998-09-11 00:12:41 +00:00
nisimura 97acdd4415 A minor error. kn5800, a MIPS SMP machine, was codenamed "ISIS." 1998-09-11 00:06:12 +00:00
eeh f3ca996011 Add support for 64-bit types if _LP64 is defined. 1998-09-11 00:05:57 +00:00
eeh cdeacb83c2 Don't use fuword()/suword() -- can't count on their size. 1998-09-11 00:04:16 +00:00
eeh 44725836bc Add some copyin()/copyout()s. These need to be done but there are more
annoying issues, so I'll just check in this snapshot.
1998-09-11 00:01:57 +00:00
eeh eb1f80313d Use correct 32-bit signal trampoline code in the emul. 1998-09-10 23:55:15 +00:00
frueauf e5512611f3 Fix typo, closes pr 6137 by Joseph Myers. 1998-09-10 21:50:35 +00:00
scottr 9d1c9d8d38 Use correct devices for zs driver on AVs. From Dave Huang (PR 6107). 1998-09-10 21:40:42 +00:00
pk f6b7ca884e Use our brand new extent_alloc1() function to allocate cache-aligned
DVMA addresses.
1998-09-10 21:08:39 +00:00
pk 3718fc4aa7 Allow the result of an extent allocation to be congruous to an arbitrary
number modulo the given alignment.
To do this the function extent_alloc_subregion() takes an additional `skew'
parameter.  For compatibility's sake, this function has been renamed to
extent_alloc_subregion1().
1998-09-10 20:52:13 +00:00
is 283229c668 Fix catastrophic typo. DraCos rev. 3 (or older) would crash on exiting from
the first timer interupt.
1998-09-10 20:45:33 +00:00
pk 9ba1c28908 Add `skew' parameter to extent_alloc_subregion(), and rename this function
to extent_alloc_subregion1(). Provide compatibility macros.
1998-09-10 20:43:14 +00:00
kenh d1e0ee615b Regen 1998-09-10 19:57:20 +00:00
kenh 537261f6c5 Reorganize the probe routine and add a quirk table. Much of this code
comes from Enami Tsugutomo (enami@but-b.or.jp).  Also add a couple more
devices to the pcmcia devices table.
1998-09-10 19:55:30 +00:00
tv 235fc6a6a9 egcs {brace} warning fix 1998-09-10 19:53:28 +00:00
kleink c039c662a2 GMT -> UTC 1998-09-10 19:30:37 +00:00
kenh 9539399333 Add support for passing device quirks from the attachment routine,
and add support for a NO_EXTRA_RESETS quirk (required by the TEAC
IDE Card/II, which the Vaio uses).
1998-09-10 19:24:45 +00:00
kleink 9dba6f18e8 Import tzdata1998g. 1998-09-10 18:51:38 +00:00
kleink 8338b64e68 Sync libc minor version number. 1998-09-10 18:43:58 +00:00
kleink 51cfb31a1f Bump minor version number (asctime_r(), ctime_r(), gmtime_r(), localtime_r()). 1998-09-10 18:41:17 +00:00