Commit Graph

14212 Commits

Author SHA1 Message Date
mycroft d7e904a697 Fix various signal handling bugs:
* If we got a stopping signal while already stopped with the same signal,
the second signal would sometimes (but not always) be ignored.
* Signals delivered by the debugger always pretended to be stopping
signals.
* PT_ATTACH still didn't quite work right.
1995-06-08 23:51:01 +00:00
briggs 90caf013ba In the interrupt routine, bail out if we've not been initialized, yet. 1995-06-08 12:52:02 +00:00
cgd 061f2a0c7e fd_set *'s really aren't compatible with timeval *'s 1995-06-08 12:38:07 +00:00
cgd 29d4fed17f typeof(timeval.tv_sec) != time_t 1995-06-07 17:40:51 +00:00
cgd 10603feb51 needs string.h 1995-06-07 17:38:35 +00:00
cgd 788733b7a9 typeof(timeval.tv_sec) != time_t 1995-06-07 17:14:21 +00:00
cgd 8936958f57 typeof(timeval.ts_sec) != time_t 1995-06-07 16:29:30 +00:00
cgd dcb82cbdbc needs string.h 1995-06-07 16:28:03 +00:00
cgd ed7cdf533b can't assume that timeval.ts_sec is same type as time_t. grr. 1995-06-07 16:09:53 +00:00
mycroft 3a8e9c62b8 Remove ip_ifmatrix completely. 1995-06-07 16:01:15 +00:00
mycroft e21c61b16f Remove extra definition of satosin(). 1995-06-07 15:21:48 +00:00
cgd 85ab28f7aa eliminate the need for some (fatal) casts. 1995-06-07 13:14:09 +00:00
cgd e75fdcfa2e only print MAXCOMLEN chars of the process command name. fixes pr 1080. 1995-06-07 07:24:19 +00:00
cgd e58dfa2a1a make match/attach routines and cfdriver struct mi 1995-06-07 07:06:16 +00:00
cgd da5b5dfa63 make match/attach routines and cfdriver struct mi 1995-06-07 06:46:04 +00:00
cgd 5a29222f9c prototype isascan, spacing 1995-06-07 06:45:44 +00:00
cgd ac2f3dfca6 be a bit more careful when splitting pathnames 1995-06-07 05:52:12 +00:00
cgd da7c7d41dd build tags at library build time, not at install time. 1995-06-07 04:37:54 +00:00
christos 9d255ec409 Ignore result of sigaction when setting traps. Traps will succeed even
on SIGKILL or SIGSTOP. This is what other bourne shells do. (suggested
by mycroft)
1995-06-07 04:16:57 +00:00
cgd 5fb36cfb02 cast assignments to quiet const warnings. Mark (at least some) uses of
const variables that result in their modification (!!) as XXX.
1995-06-07 03:55:49 +00:00
cgd 741ffd7de0 make this work whether or not MANZ is defined. also, clean it up a bit,
remove some extra cruft, and make the way compressed man pages are installed
a bit more sane.  (DON'T blow away uncompressed man pages of the same name,
if they're also there...)
1995-06-07 01:15:20 +00:00
cgd 2994e22402 add m_split proto, as suggested by Ignatios Souvatzis in pr 1076 1995-06-07 00:21:28 +00:00
cgd d4f62dcb69 update from Ignatios Souvatzis 1995-06-07 00:13:52 +00:00
thorpej 7d7d30315b Bring in all includes necessary since the multicast changes. Fixes
PR #1114.
1995-06-06 23:45:27 +00:00
cgd 65cf7e111a update from Ignatios Souvatzis 1995-06-06 23:41:37 +00:00
cgd 3349ad1b56 update from matt thomas 1995-06-06 23:31:24 +00:00
mycroft b5e03e8dd4 Fix debugging printf. 1995-06-06 19:54:30 +00:00
mycroft d6b0d0788c Use setegid() explicitly, just to be safe. 1995-06-06 19:53:34 +00:00
mycroft 7a4a8b6c81 Make sure the SIGHUP handler is actually set. Zero the fd_set before using
it.
1995-06-06 19:51:19 +00:00
pk f087571372 First arg. of syscall2() is a quad_t. 1995-06-06 09:04:51 +00:00
pk 8ad14ce320 Correct tputs() argument declaration. 1995-06-06 08:14:37 +00:00
pk 18a59f7843 Declare tputs() as void. 1995-06-06 08:10:00 +00:00
jtc bc0bd141b6 termlib(3) -> termcap(3) 1995-06-05 23:52:17 +00:00
briggs d5b4519095 Fixes for incorrect m68040 opcodes from
Henric Jungheim (uhenric@mcl.ucsb.edu).
1995-06-05 23:38:16 +00:00
mycroft 4a975bbe6f If necessary, wake up the child during attach so we always get a SIGCHLD. 1995-06-05 20:57:54 +00:00
pk 7db04aedc8 Prototype of readpass() is unnecessary. 1995-06-05 19:55:40 +00:00
pk e0431ba116 #include <err.h> & <ctype.h>; remove extraneous declarations. 1995-06-05 19:50:48 +00:00
pk bd8c5cbee9 Prototypes (PR#1105) + some misc. reorganisation. 1995-06-05 19:48:33 +00:00
pk f0f12c9e95 Prototypes (PR#1104). 1995-06-05 19:46:49 +00:00
pk 41621edd10 Prototypes (PR#1103). 1995-06-05 19:45:48 +00:00
pk c0ccf6bd8a Prototypes (PR#1102). 1995-06-05 19:44:52 +00:00
pk 8347998a01 Prototypes (PR#1100). 1995-06-05 19:43:53 +00:00
pk dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
pk 3131b5c6e5 Prototypes (PR#1097) 1995-06-05 19:39:35 +00:00
pk 4003f3244b {BEGIN,END}DECLS 1995-06-05 19:38:00 +00:00
pk a47021162b Prototype sysarch(2) (Thorsten Lockert, PR#1096) 1995-06-05 19:36:23 +00:00
mycroft 4bfd7749ad Various:
* Check for CTS in the correct register.
* Only do a selwakeup() if we output something.
* Don't make assumptions about what TTYDISC does.
1995-06-05 19:08:09 +00:00
ragge 215feb7abb New file pcb.h. USRTEXT changed to 0x400. 1995-06-05 17:17:57 +00:00
ragge 3c6303e76b Enabled auto reboot. Fixed bug in conf.c. Started use of rpb.
Detecting kernel stack overflow. Removed local mapping of
sigtramp code. Frob kernel stack pages in cpu_swapin().
Cleaned up some code and changed to KNF.
1995-06-05 16:26:23 +00:00
ragge 77ca47bc4d Added vax support. 1995-06-05 15:22:38 +00:00