Commit Graph

14185 Commits

Author SHA1 Message Date
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
christos b842cc2784 Avoid trapping SIGKILL. Pretend that we did, so that we will not keep
failing trying to trap it later. This is what the other bourne shells do.
1995-06-05 14:24:33 +00:00
pk 1e52ad70a9 We need some compat_10 routines if COMPAT_SUNOS is on (PR #1008). 1995-06-05 12:56:54 +00:00
pk bf834e228d Add UNION option. 1995-06-05 12:46:31 +00:00
pk 6355031191 Fix typo (Der mouse, PR #1115). 1995-06-05 11:48:26 +00:00
mycroft ee9e2e35fa Increase the delay after pulsing the keyboard reset line. 1995-06-05 03:47:51 +00:00
mycroft 1922f9e648 Use the memory mapping set up by the BIOS. 1995-06-05 03:07:34 +00:00
pk d24616db68 STARTFILE_SPEC: choose `scrt0.o' if `-static' is given. 1995-06-05 01:59:14 +00:00
pk 69ae425298 Build run-time code for use in static executables, called `scrt0.o'. 1995-06-05 01:57:04 +00:00
cgd dede989b85 enable the de driver 1995-06-05 01:03:45 +00:00
cgd d0d9fe6333 set a shutdown hook 1995-06-05 01:03:30 +00:00
pk 05a6a13e75 Be sure to calculate correct offsets in dispatch table. 1995-06-05 01:01:51 +00:00
cgd 89c30bb2e3 do the right thing with fixed-size types. 1995-06-05 00:49:45 +00:00
cgd 96caf354eb kill old Id, add NetBSD Id 1995-06-05 00:47:42 +00:00
cgd c71cccacde kill old Id and Log. add NetBSD Id 1995-06-05 00:46:30 +00:00
cgd 551bcffab9 dc21040 driver, from Matt Thomas 1995-06-05 00:38:18 +00:00
pk b4c3c3ebe6 Add dlfcn.h and alphabetize. 1995-06-05 00:24:55 +00:00
pk 275fc2ee0d #include <dlfcn.h>, and <string.h> too. 1995-06-05 00:13:05 +00:00
pk 25b9fa86e4 one more prototype 1995-06-05 00:10:44 +00:00
pk d680ed6b95 #include <dlfcn.h> 1995-06-05 00:08:38 +00:00
pk 878392000d Put dlopen() et.al. declarations in separate header file for compatibility. 1995-06-05 00:08:07 +00:00
pk 6226310a31 add dlerror() stub 1995-06-04 23:29:14 +00:00
pk fdd7092874 Cache two more environment variable values. 1995-06-04 23:21:35 +00:00
pk fe9497fd8c Revive library search paths. 1995-06-04 21:57:18 +00:00
pk ad760ce3d6 Implement compiled-in library search paths: any `-L' argument encountered
while `dynamic link-mode' is on, is recorded in the executable. The
run-time linker will search these paths after $LD_LIBRARY_PATH but
before the default set and those currently in the hints file.
The feature is disabled whenever for set[ug]id programs.
1995-06-04 21:56:22 +00:00
pk 3441f631d9 Cut some convoluted code that caused library members to get pulled
in unnecessarily. Also, the size of common is of no interest if the
symbol already is in a shared object.
1995-06-04 21:33:14 +00:00
jtc 170153e198 The tftpd daemon has been changed to use setgid() & setuid() to
explicitly set the user and group IDs to non-priveleged values.  This
was done because the chroot() call used when the secure (-s) option is
used can only be done by the superuser.

This change now requires tftpd to be executed by root.  So the
inetd.conf entry has been changed to start it that way.  I also
added -s /tftpboot arguments, so people who uncomment the tftpd
entry without realizing it's security ramifications won't open
thier whole systems to unauthorized access.
1995-06-04 20:55:39 +00:00
mycroft 5b37a8fded Handle BREAK correctly when not entering DDB. 1995-06-04 20:50:14 +00:00