openbsd
28 years agoprotect getenv, do not oflow, fix unused debug; bitblt and deraadt
deraadt [Thu, 5 Sep 1996 12:29:12 +0000 (12:29 +0000)]
protect getenv, do not oflow, fix unused debug; bitblt and deraadt

28 years ago1 char oflow
deraadt [Thu, 5 Sep 1996 12:28:23 +0000 (12:28 +0000)]
1 char oflow

28 years agowhy was this crap still here...
pefo [Thu, 5 Sep 1996 11:59:14 +0000 (11:59 +0000)]
why was this crap still here...

28 years agoup to RIPv2.
mickey [Thu, 5 Sep 1996 11:13:18 +0000 (11:13 +0000)]
up to RIPv2.

28 years agostandard link.h and dlfcn.h not very useful on mips
pefo [Thu, 5 Sep 1996 11:01:32 +0000 (11:01 +0000)]
standard link.h and dlfcn.h not very useful on mips

28 years agorpc.yppasswdd, not rpc.yppasswd; obviously peter tested the non-YP case :)
deraadt [Thu, 5 Sep 1996 09:57:29 +0000 (09:57 +0000)]
rpc.yppasswdd, not rpc.yppasswd; obviously peter tested the non-YP case :)

28 years agoskey command for inline use; by brian@saturn.net (but i had to fix his sleep deprived...
deraadt [Thu, 5 Sep 1996 09:10:00 +0000 (09:10 +0000)]
skey command for inline use; by brian@saturn.net (but i had to fix his sleep deprived code)

28 years agonc is *hobbit*'s netcat; let the sysadm have the same tools the crackers
deraadt [Thu, 5 Sep 1996 08:55:23 +0000 (08:55 +0000)]
nc is *hobbit*'s netcat; let the sysadm have the same tools the crackers
have, so that he may learn what the network is about and protect it better.

28 years agoremove ';' after function close '}'
mickey [Thu, 5 Sep 1996 08:42:32 +0000 (08:42 +0000)]
remove ';' after function close '}'
make it nicer w/ new routed.

28 years agoinclude dti
pefo [Thu, 5 Sep 1996 08:04:14 +0000 (08:04 +0000)]
include dti

28 years agogrumble.. new files.. grumble..
pefo [Thu, 5 Sep 1996 08:01:15 +0000 (08:01 +0000)]
grumble.. new files.. grumble..

28 years agoMove fflush() from signal handler into endwin(), that way it will work in
tholo [Thu, 5 Sep 1996 05:09:10 +0000 (05:09 +0000)]
Move fflush() from signal handler into endwin(), that way it will work in
some other common situations too.

28 years agoAdd strategic fflush() before suspending on keyboard generated signal
tholo [Thu, 5 Sep 1996 03:20:07 +0000 (03:20 +0000)]
Add strategic fflush() before suspending on keyboard generated signal

28 years agodocument latest rcmd change
millert [Thu, 5 Sep 1996 02:39:34 +0000 (02:39 +0000)]
document latest rcmd change

28 years agoignore $RSH if we are setuid
millert [Thu, 5 Sep 1996 02:37:27 +0000 (02:37 +0000)]
ignore $RSH if we are setuid

28 years agoget 12am & 12pm correct; netbsd pr#2734, khym@bga.com [this was hell to test]
deraadt [Wed, 4 Sep 1996 23:43:57 +0000 (23:43 +0000)]
get 12am & 12pm correct; netbsd pr#2734, khym@bga.com [this was hell to test]

28 years agopermit YP to be compiled out using flag in bsd.own.mk; pr#15, peter@demon.net
deraadt [Wed, 4 Sep 1996 22:52:00 +0000 (22:52 +0000)]
permit YP to be compiled out using flag in bsd.own.mk; pr#15, peter@demon.net

28 years agoEnable extra scsi drives and scanners
niklas [Wed, 4 Sep 1996 22:51:33 +0000 (22:51 +0000)]
Enable extra scsi drives and scanners

28 years agos/rnd/random/
niklas [Wed, 4 Sep 1996 22:44:22 +0000 (22:44 +0000)]
s/rnd/random/

28 years agos/KERNEL/_KERNEL/
niklas [Wed, 4 Sep 1996 22:38:47 +0000 (22:38 +0000)]
s/KERNEL/_KERNEL/

28 years agomore Swedish pedantery, kill statics, provide protos etc
niklas [Wed, 4 Sep 1996 22:35:27 +0000 (22:35 +0000)]
more Swedish pedantery, kill statics, provide protos etc

28 years agopipe.h needed vm_page_t defined for me, so I moved it down
niklas [Wed, 4 Sep 1996 22:33:48 +0000 (22:33 +0000)]
pipe.h needed vm_page_t defined for me, so I moved it down

28 years agoDo not do the if(a = b) game even if correct, it is confusing
niklas [Wed, 4 Sep 1996 22:24:23 +0000 (22:24 +0000)]
Do not do the if(a = b) game even if correct, it is confusing

28 years agoStylistic cleanup, like removing "static"s, and removing warnings
niklas [Wed, 4 Sep 1996 22:23:28 +0000 (22:23 +0000)]
Stylistic cleanup, like removing "static"s, and removing warnings
given by -Wall -Wstrict-prototypes -Wmissing-prototypes

28 years agomake GCC 'appier and remove unused vars. Also fix retval
niklas [Wed, 4 Sep 1996 22:13:45 +0000 (22:13 +0000)]
make GCC 'appier and remove unused vars.  Also fix retval
and a debug printout

28 years agoadd #pccom0; suggested by graichen
deraadt [Wed, 4 Sep 1996 21:20:44 +0000 (21:20 +0000)]
add #pccom0; suggested by graichen

28 years agoSome changes for new arc boxes
pefo [Wed, 4 Sep 1996 21:18:19 +0000 (21:18 +0000)]
Some changes for new arc boxes

28 years agoMerge the Cygnus 960904 sources
niklas [Wed, 4 Sep 1996 18:58:30 +0000 (18:58 +0000)]
Merge the Cygnus 960904 sources

28 years agoImport of binutils, gas, ld & gprof from Cygnus 960904 tree
niklas [Wed, 4 Sep 1996 17:34:35 +0000 (17:34 +0000)]
Import of binutils, gas, ld & gprof from Cygnus 960904 tree

28 years agono, bad commit
deraadt [Wed, 4 Sep 1996 15:40:27 +0000 (15:40 +0000)]
no, bad commit

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