openbsd
28 years agoclear passwd, for safety
deraadt [Wed, 4 Sep 1996 14:41:28 +0000 (14:41 +0000)]
clear passwd, for safety

28 years agocontrol portmap, inetd, and lpd from netstart; idea from tqbf@enteract.com
deraadt [Wed, 4 Sep 1996 10:25:53 +0000 (10:25 +0000)]
control portmap, inetd, and lpd from netstart; idea from tqbf@enteract.com

28 years ago_PASSWORD_LEN != 255
deraadt [Wed, 4 Sep 1996 05:10:23 +0000 (05:10 +0000)]
_PASSWORD_LEN != 255

28 years agoPull in pieces of Manuel's patch6:
downsj [Wed, 4 Sep 1996 00:51:13 +0000 (00:51 +0000)]
Pull in pieces of Manuel's patch6:

- At Milton Ngan's request, wdc now probes for atapi devices first, and
  then wd drives, because some old atapi devices were detected as ide
     drives.
   - Integration of Milton Ngan's fix for some
 'wdc_atapi_intr: unknown phase 1' due to a timing problem.

Some additional changes (like ADEV_* -> AQUIRK_*) for the sake of
compatibility.  Manuel's additional quirk type was added as well.

I'm not sure I like the retry change to wdc.c; please let me know if anyone
has any problems with their drives.

28 years agoAdded OpenBSD tag
etheisen [Tue, 3 Sep 1996 23:14:38 +0000 (23:14 +0000)]
Added OpenBSD tag

28 years agoUse the new mdoc macros.
etheisen [Tue, 3 Sep 1996 22:51:15 +0000 (22:51 +0000)]
Use the new mdoc macros.

28 years agohttp:// support for the command line fetches; useful for the ports subsystem
deraadt [Tue, 3 Sep 1996 18:00:05 +0000 (18:00 +0000)]
 support for the command line fetches; useful for the ports subsystem
and other scripts. written by brian@saturn.net (and then i clawed at it for
a bit..)

28 years agofix buf oflows better
deraadt [Tue, 3 Sep 1996 16:04:55 +0000 (16:04 +0000)]
fix buf oflows better

28 years agodetect wrong architecture
deraadt [Tue, 3 Sep 1996 11:16:47 +0000 (11:16 +0000)]
detect wrong architecture

28 years agoneed param.h
deraadt [Tue, 3 Sep 1996 11:08:00 +0000 (11:08 +0000)]
need param.h

28 years agoanother typo....
deraadt [Tue, 3 Sep 1996 11:01:43 +0000 (11:01 +0000)]
another typo....

28 years agolike tip, group dialer access only
deraadt [Tue, 3 Sep 1996 10:59:47 +0000 (10:59 +0000)]
like tip, group dialer access only

28 years agoproper types
deraadt [Tue, 3 Sep 1996 10:53:37 +0000 (10:53 +0000)]
proper types

28 years agokill useless code
deraadt [Tue, 3 Sep 1996 09:35:31 +0000 (09:35 +0000)]
kill useless code

28 years agoMerged in newer macros.
etheisen [Tue, 3 Sep 1996 08:03:12 +0000 (08:03 +0000)]
Merged in newer macros.

28 years agoMerged in some of the newer macros.
etheisen [Tue, 3 Sep 1996 07:40:40 +0000 (07:40 +0000)]
Merged in some of the newer macros.

28 years agouse prefix 0x instead of DOS-like postfix H
deraadt [Tue, 3 Sep 1996 07:29:31 +0000 (07:29 +0000)]
use prefix 0x instead of DOS-like postfix H

28 years agoconstrain to MAXHOSTNAMELEN
deraadt [Tue, 3 Sep 1996 07:27:45 +0000 (07:27 +0000)]
constrain to MAXHOSTNAMELEN

28 years agocheck mid of exec too
deraadt [Tue, 3 Sep 1996 06:54:43 +0000 (06:54 +0000)]
check mid of exec too

28 years agoProtect against buffer overflow
tholo [Tue, 3 Sep 1996 05:11:11 +0000 (05:11 +0000)]
Protect against buffer overflow

28 years agodo not coredump for setuid/setgid, unless run by root
deraadt [Tue, 3 Sep 1996 05:01:45 +0000 (05:01 +0000)]
do not coredump for setuid/setgid, unless run by root

28 years agoNeed sys/types.h, too.
briggs [Mon, 2 Sep 1996 23:32:37 +0000 (23:32 +0000)]
Need sys/types.h, too.

28 years agoReplace string.h with systm.h.
briggs [Mon, 2 Sep 1996 23:21:53 +0000 (23:21 +0000)]
Replace string.h with systm.h.

28 years agodon't try to do setsockopt(TCP_MAXSEG) unless we are root.
millert [Mon, 2 Sep 1996 22:15:02 +0000 (22:15 +0000)]
don't try to do setsockopt(TCP_MAXSEG) unless we are root.

28 years agotalk about $RSH
millert [Mon, 2 Sep 1996 21:36:58 +0000 (21:36 +0000)]
talk about $RSH

28 years agoCleanup before the integration of the machine identification code:
imp [Mon, 2 Sep 1996 21:33:29 +0000 (21:33 +0000)]
Cleanup before the integration of the machine identification code:
o Merge all the case statements into one.
o Cleanup Tyne and rPC44 support
o Removed the soon to be obsolete code to get the sysid (which
then just ignored it)
Hopefully not break the working PICA port in the process....

28 years agounset $RSH so we don't loop de loop in rcmd().
millert [Mon, 2 Sep 1996 21:28:04 +0000 (21:28 +0000)]
unset $RSH so we don't loop de loop in rcmd().

28 years agoLooks at RSH envariable and calls rcmdsh() with that value if set.
millert [Mon, 2 Sep 1996 21:26:09 +0000 (21:26 +0000)]
Looks at RSH envariable and calls rcmdsh() with that value if set.

28 years agoNetBSD -> OpenBSD
imp [Mon, 2 Sep 1996 20:45:45 +0000 (20:45 +0000)]
NetBSD -> OpenBSD

28 years agoSave the log file if the original number of days was > 0; don't rely on
tholo [Mon, 2 Sep 1996 18:47:16 +0000 (18:47 +0000)]
Save the log file if the original number of days was > 0; don't rely on
being able to use numdays after aging the existing logfiles

28 years agoDon't drain the protocol queues at interrupt level.
dm [Mon, 2 Sep 1996 18:14:15 +0000 (18:14 +0000)]
Don't drain the protocol queues at interrupt level.

28 years agoSync up with NetBSD:
briggs [Mon, 2 Sep 1996 16:04:06 +0000 (16:04 +0000)]
Sync up with NetBSD:
(christos)
Fix bug reported by Greg Hudson where leaf (source only) nodes were
referenced only by their basename and not by their full pathname. This
breaks when .PATH or MAKEOBJDIR are used. There might be Makefiles
around that try to work around this bug by prepending ${.CURDIR} to
the sources, and they should be found and fixed. Also a lot of the gunk
in suff.c that was attempting to work around the same problem could be
removed.
(christos)
- Move -D flags from Makefile to config.h and explain what they do. Add
  -Wall -Wno-unused to CFLAGS. Add new define SYSVVARSUB to enable SysV
  style variable substitutions and enable them.
- Add SunOS style command substitutions via SUNSHCMD
- Fix core dump with '{variable = value'
(christos)
Fix bug where make will always exit with 0, even when one or more
parallel jobs failed. (Only affects parallel make code)
(christos)
Protect __P from being multiply defined (for systems that already
define it)
(christos) Add strdup() since ultrix is missing it.
From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
(christos) Add estrdup(), a checked version of strdup and use it.
(christos) Recognize SVR4 style long filename entries in archives.
(thorpej) Tidy up some RCS ids a bit.

28 years agoDetect stuck interrupts in the scc (if DIAGNOSTIC) and log it.
briggs [Mon, 2 Sep 1996 15:50:34 +0000 (15:50 +0000)]
Detect stuck interrupts in the scc (if DIAGNOSTIC) and log it.
Patches from Bill Studenmund <wrstuden@loki.stanford.edu>.

28 years agosetlogin
deraadt [Mon, 2 Sep 1996 13:12:23 +0000 (13:12 +0000)]
setlogin

28 years agowhoops
deraadt [Mon, 2 Sep 1996 12:21:57 +0000 (12:21 +0000)]
whoops

28 years agobad environ init; from brian@saturn.net
deraadt [Mon, 2 Sep 1996 12:19:31 +0000 (12:19 +0000)]
bad environ init; from brian@saturn.net

28 years agoMissing */
pefo [Mon, 2 Sep 1996 11:41:46 +0000 (11:41 +0000)]
Missing */

28 years agomousetrap...
pefo [Mon, 2 Sep 1996 11:37:45 +0000 (11:37 +0000)]
mousetrap...

28 years agoZAP GENERIC!
pefo [Mon, 2 Sep 1996 11:33:22 +0000 (11:33 +0000)]
ZAP GENERIC!

28 years agopica -> arc for fdisk
pefo [Mon, 2 Sep 1996 11:30:09 +0000 (11:30 +0000)]
pica -> arc for fdisk

28 years agoOops
pefo [Mon, 2 Sep 1996 11:29:09 +0000 (11:29 +0000)]
Oops

28 years agoCreate crtn.o. Right now it's an empty file...
pefo [Mon, 2 Sep 1996 10:04:11 +0000 (10:04 +0000)]
Create crtn.o. Right now it's an empty file...

28 years agoadd -g group delivery option
deraadt [Mon, 2 Sep 1996 09:07:35 +0000 (09:07 +0000)]
add -g group delivery option

28 years agocua support
deraadt [Mon, 2 Sep 1996 09:01:49 +0000 (09:01 +0000)]
cua support

28 years agoSetup fpr links and document.
etheisen [Mon, 2 Sep 1996 06:46:59 +0000 (06:46 +0000)]
Setup fpr links and document.

28 years agonot setuid, silence TCP_MAXSEG for non-root
deraadt [Mon, 2 Sep 1996 05:37:10 +0000 (05:37 +0000)]
not setuid, silence TCP_MAXSEG for non-root

28 years agoCorrect links for getrpcent.3 pages
tholo [Mon, 2 Sep 1996 05:34:45 +0000 (05:34 +0000)]
Correct links for getrpcent.3 pages

28 years agoDon't overwrite the last byte of a line unless we have to
tholo [Mon, 2 Sep 1996 05:32:50 +0000 (05:32 +0000)]
Don't overwrite the last byte of a line unless we have to

28 years agoshmdt link
deraadt [Mon, 2 Sep 1996 05:26:54 +0000 (05:26 +0000)]
shmdt link

28 years agoshmdt when no mapping is ok, found by christos
deraadt [Mon, 2 Sep 1996 05:25:06 +0000 (05:25 +0000)]
shmdt when no mapping is ok, found by christos

28 years agoperturb xid further. confuse the world
deraadt [Mon, 2 Sep 1996 05:01:09 +0000 (05:01 +0000)]
perturb xid further. confuse the world

28 years agodo not leak byname; this needs a complete rewrite
deraadt [Mon, 2 Sep 1996 02:48:57 +0000 (02:48 +0000)]
do not leak byname; this needs a complete rewrite

28 years agoloop till quit
deraadt [Mon, 2 Sep 1996 02:46:39 +0000 (02:46 +0000)]
loop till quit

28 years agopnp, mcd off
deraadt [Mon, 2 Sep 1996 02:34:09 +0000 (02:34 +0000)]
pnp, mcd off

28 years agoRename nextpid to lastpid; make it a global with type pid_t
tholo [Mon, 2 Sep 1996 01:22:05 +0000 (01:22 +0000)]
Rename nextpid to lastpid; make it a global with type pid_t

28 years agotalk about rcmdsh()
millert [Sun, 1 Sep 1996 22:33:04 +0000 (22:33 +0000)]
talk about rcmdsh()

28 years agoFirst cut at man page for rcmdsh()
millert [Sun, 1 Sep 1996 21:25:34 +0000 (21:25 +0000)]
First cut at man page for rcmdsh()

28 years agoinitial commit of split fdc/fd drivers
downsj [Sun, 1 Sep 1996 20:55:20 +0000 (20:55 +0000)]
initial commit of split fdc/fd drivers

28 years agoUse .Bx macro in HISTORY
millert [Sun, 1 Sep 1996 20:50:51 +0000 (20:50 +0000)]
Use .Bx macro in HISTORY

28 years agoNo longer need to be setuid (rcmd uses rcmdsh if uid != 0).
millert [Sun, 1 Sep 1996 20:45:22 +0000 (20:45 +0000)]
No longer need to be setuid (rcmd uses rcmdsh if uid != 0).

28 years agoDon't dup stderr, you lose error messages and rsh does it for us anyway.
millert [Sun, 1 Sep 1996 20:28:22 +0000 (20:28 +0000)]
Don't dup stderr, you lose error messages and rsh does it for us anyway.

28 years agolarger -> smaller.
millert [Sun, 1 Sep 1996 20:14:30 +0000 (20:14 +0000)]
larger -> smaller.

28 years agodistinguish between left/right shift keys for X; from Mathieu.Herrb@mipnet.fr
deraadt [Sun, 1 Sep 1996 19:40:56 +0000 (19:40 +0000)]
distinguish between left/right shift keys for X; from Mathieu.Herrb@mipnet.fr

28 years agofpr goes away, use asa
deraadt [Sun, 1 Sep 1996 19:04:28 +0000 (19:04 +0000)]
fpr goes away, use asa

28 years agoI like to be able to KTRACE sometimes.
briggs [Sun, 1 Sep 1996 18:57:04 +0000 (18:57 +0000)]
I like to be able to KTRACE sometimes.

28 years agoFrom scottr@netbsd.org:
briggs [Sun, 1 Sep 1996 18:50:02 +0000 (18:50 +0000)]
From scottr@netbsd.org:
After servicing an interrupt, check to see that there's not another
one pending before we clear the interrupt flag.  This avoids a condition
where the line appears to go catatonic (which is particularly easily
triggered by pppd).  From Bill Studenmund <wrstuden@loki.stanford.edu>.
XXX - we should probably log this if it gets excessive.

28 years agoi have changed this enough to put copyright on it
deraadt [Sun, 1 Sep 1996 18:31:29 +0000 (18:31 +0000)]
i have changed this enough to put copyright on it

28 years agozap emalloc mem
deraadt [Sun, 1 Sep 1996 18:02:02 +0000 (18:02 +0000)]
zap emalloc mem

28 years agochange keymap_t to pccons_keymap_t in pccons
deraadt [Sun, 1 Sep 1996 16:48:07 +0000 (16:48 +0000)]
change keymap_t to pccons_keymap_t in pccons

28 years agountimeout & density handling; from rcjvdb@urc.tue.nl... this patch is from january...
deraadt [Sun, 1 Sep 1996 16:42:24 +0000 (16:42 +0000)]
untimeout & density handling; from rcjvdb@urc.tue.nl... this patch is from january 2 1995

28 years agochange keymap_t to pccons_keymap_t in pccons
deraadt [Sun, 1 Sep 1996 16:39:57 +0000 (16:39 +0000)]
change keymap_t to pccons_keymap_t in pccons

28 years agokill setuid, fix setgid hole
deraadt [Sun, 1 Sep 1996 15:31:01 +0000 (15:31 +0000)]
kill setuid, fix setgid hole

28 years agooflow protection
deraadt [Sun, 1 Sep 1996 15:30:18 +0000 (15:30 +0000)]
oflow protection

28 years agocheck rcmd() return val and exit nicely.
millert [Sun, 1 Sep 1996 15:29:21 +0000 (15:29 +0000)]
check rcmd() return val and exit nicely.

28 years agolose setuid
deraadt [Sun, 1 Sep 1996 15:27:28 +0000 (15:27 +0000)]
lose setuid

28 years agobetter error message
deraadt [Sun, 1 Sep 1996 14:13:24 +0000 (14:13 +0000)]
better error message

28 years agodialup tty semantic is wrong
deraadt [Sun, 1 Sep 1996 13:12:35 +0000 (13:12 +0000)]
dialup tty semantic is wrong

28 years agolimit to around 1024 chars post expansion
deraadt [Sun, 1 Sep 1996 13:06:51 +0000 (13:06 +0000)]
limit to around 1024 chars post expansion

28 years agoSpecify that new primaries -empty, -maxdepth and -mindepth are extensions
tholo [Sun, 1 Sep 1996 07:26:45 +0000 (07:26 +0000)]
Specify that new primaries -empty, -maxdepth and -mindepth are extensions

28 years agoAdd support for -empty
tholo [Sun, 1 Sep 1996 04:56:25 +0000 (04:56 +0000)]
Add support for -empty

28 years agoAdd support for -mindepth while at it
tholo [Sun, 1 Sep 1996 04:30:15 +0000 (04:30 +0000)]
Add support for -mindepth while at it

28 years agofix warnings
deraadt [Sun, 1 Sep 1996 01:41:44 +0000 (01:41 +0000)]
fix warnings

28 years agoAdd support for -maxdepth option
tholo [Sat, 31 Aug 1996 22:40:18 +0000 (22:40 +0000)]
Add support for -maxdepth option

28 years agofix kerberos build, about bloody time
deraadt [Sat, 31 Aug 1996 18:47:27 +0000 (18:47 +0000)]
fix kerberos build, about bloody time

28 years agoclean for kernel and userland
deraadt [Sat, 31 Aug 1996 18:01:02 +0000 (18:01 +0000)]
clean for kernel and userland

28 years agocheck right variable
deraadt [Sat, 31 Aug 1996 17:56:52 +0000 (17:56 +0000)]
check right variable

28 years agoduh
deraadt [Sat, 31 Aug 1996 17:35:37 +0000 (17:35 +0000)]
duh

28 years agorpc is not an option anymore
deraadt [Sat, 31 Aug 1996 17:31:05 +0000 (17:31 +0000)]
rpc is not an option anymore

28 years agodo ngen == 0 correctly; netbsd pr#2724; kstailey@dol-esa.gov
deraadt [Sat, 31 Aug 1996 14:20:36 +0000 (14:20 +0000)]
do ngen == 0 correctly; netbsd pr#2724; kstailey@dol-esa.gov

28 years agoconstrain & expansion to LINE_MAX for safety
deraadt [Sat, 31 Aug 1996 13:50:19 +0000 (13:50 +0000)]
constrain & expansion to LINE_MAX for safety

28 years agoconstrain & expansion to LINE_MAX for safety
deraadt [Sat, 31 Aug 1996 13:35:23 +0000 (13:35 +0000)]
constrain & expansion to LINE_MAX for safety

28 years agotypo
deraadt [Sat, 31 Aug 1996 13:12:12 +0000 (13:12 +0000)]
typo

28 years agoerror in hostname
pefo [Sat, 31 Aug 1996 12:57:36 +0000 (12:57 +0000)]
error in hostname

28 years agobuf oflow in some more "NetBSD Foundation" code
deraadt [Sat, 31 Aug 1996 12:56:06 +0000 (12:56 +0000)]
buf oflow in some more "NetBSD Foundation" code

28 years agoZAP!
pefo [Sat, 31 Aug 1996 12:44:57 +0000 (12:44 +0000)]
ZAP!

28 years agobuf oflow; from brian@saturn.net
deraadt [Sat, 31 Aug 1996 12:42:49 +0000 (12:42 +0000)]
buf oflow; from brian@saturn.net

28 years agoSupport for c720. Now requires "ARCH xxx" statement. No default (error prone).
pefo [Sat, 31 Aug 1996 10:49:16 +0000 (10:49 +0000)]
Support for c720. Now requires "ARCH xxx" statement. No default (error prone).

28 years agobuf oflow
deraadt [Sat, 31 Aug 1996 09:53:42 +0000 (09:53 +0000)]
buf oflow

28 years agoCleanup exec
pefo [Sat, 31 Aug 1996 09:19:14 +0000 (09:19 +0000)]
Cleanup exec

28 years agoSome more data in package
pefo [Sat, 31 Aug 1996 09:17:16 +0000 (09:17 +0000)]
Some more data in package