openbsd
27 years agosync with FreeBSD, except for the damned tcl script.
downsj [Sun, 8 Dec 1996 13:57:06 +0000 (13:57 +0000)]
sync with FreeBSD, except for the damned tcl script.

27 years agoAdd -M.
downsj [Sun, 8 Dec 1996 13:29:53 +0000 (13:29 +0000)]
Add -M.

27 years agoDisable matching by default if a domainname is set, adding -M to reenable it.
downsj [Sun, 8 Dec 1996 13:29:19 +0000 (13:29 +0000)]
Disable matching by default if a domainname is set, adding -M to reenable it.

27 years agoa few things go away...
deraadt [Sun, 8 Dec 1996 10:26:32 +0000 (10:26 +0000)]
a few things go away...

27 years agonot needed anymore
deraadt [Sun, 8 Dec 1996 10:26:16 +0000 (10:26 +0000)]
not needed anymore

27 years ago64-bit clean + RCS tags
niklas [Sun, 8 Dec 1996 01:13:38 +0000 (01:13 +0000)]
64-bit clean + RCS tags

27 years agoMerge to NetBSD 961107, i.e. mostly new bus.h
niklas [Sun, 8 Dec 1996 01:03:02 +0000 (01:03 +0000)]
Merge to NetBSD 961107, i.e. mostly new bus.h

27 years agoMerge to NetBSD 961107, i.e. mostly new bus.h
niklas [Sun, 8 Dec 1996 00:20:14 +0000 (00:20 +0000)]
Merge to NetBSD 961107, i.e. mostly new bus.h

27 years agouse mktemp(1) and don't talk about core files unless it finds some.
millert [Sat, 7 Dec 1996 18:46:46 +0000 (18:46 +0000)]
use mktemp(1) and don't talk about core files unless it finds some.

27 years agoavoid __LDPGSZ
deraadt [Sat, 7 Dec 1996 14:57:40 +0000 (14:57 +0000)]
avoid __LDPGSZ

27 years agomem leak, short malloc; netbsd pr#3000, minoura@kw.netlaputa.or.jp
deraadt [Sat, 7 Dec 1996 13:00:16 +0000 (13:00 +0000)]
mem leak, short malloc; netbsd pr#3000, minoura@kw.netlaputa.or.jp

27 years agofake the isofs label only if other probes fail
deraadt [Sat, 7 Dec 1996 12:20:39 +0000 (12:20 +0000)]
fake the isofs label only if other probes fail

27 years agoypserv w/o -d is OK
deraadt [Sat, 7 Dec 1996 12:19:00 +0000 (12:19 +0000)]
ypserv w/o -d is OK

27 years ago-d is not always needed. the magic cookie stuff works
deraadt [Sat, 7 Dec 1996 12:18:40 +0000 (12:18 +0000)]
-d is not always needed. the magic cookie stuff works

27 years agoChecks to see that strdup() worked, dies with error message on failure.
bitblt [Sat, 7 Dec 1996 10:52:06 +0000 (10:52 +0000)]
Checks to see that strdup() worked, dies with error message on failure.

27 years agocorrect a sigsegv during parsing of garbled input; netbsd pr#2659, dgilbert@jaywon...
deraadt [Sat, 7 Dec 1996 10:09:24 +0000 (10:09 +0000)]
correct a sigsegv during parsing of garbled input; netbsd pr#2659, dgilbert@jaywon.pci.on.ca

27 years agoavoid race, avoid mbuf leak
deraadt [Sat, 7 Dec 1996 09:17:46 +0000 (09:17 +0000)]
avoid race, avoid mbuf leak

27 years agomonths are from 1-12 not 0-12, netbsd pr#2806, mouse@Rodents.Montreal.QC.CA
deraadt [Sat, 7 Dec 1996 09:13:11 +0000 (09:13 +0000)]
months are from 1-12 not 0-12, netbsd pr#2806, mouse@Rodents.Montreal.QC.CA

27 years agohandle -t & -l in more cases; netbsd pr#2869, hubert.feyrer@rz.uni-regensburg.de
deraadt [Sat, 7 Dec 1996 09:09:04 +0000 (09:09 +0000)]
handle -t & -l in more cases; netbsd pr#2869, hubert.feyrer@rz.uni-regensburg.de

27 years agoftp-bugs alias for bitching about config probs
deraadt [Sat, 7 Dec 1996 09:00:46 +0000 (09:00 +0000)]
ftp-bugs alias for bitching about config probs

27 years agoftpd now eventually times out if a ftp client does:
bitblt [Sat, 7 Dec 1996 09:00:18 +0000 (09:00 +0000)]
ftpd now eventually times out if a ftp client does:
pasv
list
and then crashes.
The timeout should only apply the the accept(), so that transfers can
take as long as necessary to complete.
Thanks to Theo for moving toolong() to extern.h so that it can be used
in ftpd.c as well as in ftpcmd.y.

27 years agoImproved temporary file handling.
bitblt [Sat, 7 Dec 1996 08:18:38 +0000 (08:18 +0000)]
Improved temporary file handling.

27 years agoincrease buf sizes, hacked w/ bitblt
deraadt [Sat, 7 Dec 1996 08:00:45 +0000 (08:00 +0000)]
increase buf sizes, hacked w/ bitblt

27 years ago/etc does not contain bins
deraadt [Sat, 7 Dec 1996 07:50:33 +0000 (07:50 +0000)]
/etc does not contain bins

27 years agoImproved handling of temporary files.
bitblt [Sat, 7 Dec 1996 07:33:06 +0000 (07:33 +0000)]
Improved handling of temporary files.

27 years agobuf oflow
deraadt [Sat, 7 Dec 1996 07:07:35 +0000 (07:07 +0000)]
buf oflow

27 years agocheck for entry in /etc/skeykeys and ~/.ssh in evil system()
millert [Fri, 6 Dec 1996 18:12:57 +0000 (18:12 +0000)]
check for entry in /etc/skeykeys and ~/.ssh in evil system()

27 years agoChange some "test -f" to "test -s"
millert [Fri, 6 Dec 1996 17:51:49 +0000 (17:51 +0000)]
Change some "test -f" to "test -s"
Don't bitch about star'd out logins unless they have a .rhosts/.shosts/.klogin
file (ie: something that would let them in via rsh/ssh).

27 years agoset umask to 022 -- make /etc/security stop bitching about this...
millert [Fri, 6 Dec 1996 17:20:31 +0000 (17:20 +0000)]
set umask to 022 -- make /etc/security stop bitching about this...

27 years agoskip lines in /etc/passwd that start with + or -.
millert [Fri, 6 Dec 1996 17:17:13 +0000 (17:17 +0000)]
skip lines in /etc/passwd that start with + or -.
don't bitch about root-owned .rhosts since multiple system accounts
share root's homedir.

27 years agoindicate hostname in security report
deraadt [Fri, 6 Dec 1996 16:49:12 +0000 (16:49 +0000)]
indicate hostname in security report

27 years agoDon't bitch if /usr/contrib/* /usr/old/* /usr/news/* don't exist.
millert [Fri, 6 Dec 1996 16:47:15 +0000 (16:47 +0000)]
Don't bitch if /usr/contrib/* /usr/old/* /usr/news/* don't exist.

27 years agosizeof(x)/sizeof(x[0]) is your friend
deraadt [Fri, 6 Dec 1996 15:59:20 +0000 (15:59 +0000)]
sizeof(x)/sizeof(x[0]) is your friend

27 years agoa temporary hack until i fix some confusing swapbsd.c handling
deraadt [Fri, 6 Dec 1996 15:51:09 +0000 (15:51 +0000)]
a temporary hack until i fix some confusing swapbsd.c handling

27 years agomemset
deraadt [Fri, 6 Dec 1996 15:33:31 +0000 (15:33 +0000)]
memset

27 years agoplease linux people (why am i doing this?? i need a life)
deraadt [Fri, 6 Dec 1996 15:26:28 +0000 (15:26 +0000)]
please linux people (why am i doing this?? i need a life)

27 years agoFix bug where one could ``send'' various TELNET commands from the telnet
robin [Fri, 6 Dec 1996 15:21:53 +0000 (15:21 +0000)]
Fix bug where one could ``send'' various TELNET commands from the telnet
command prompt, prior to being connected to a remote host.

The affected commands were:

  set       binary | inbinary | outbinary
  toggle    binary | inbinary | outbinary

27 years agoadd nfs
deraadt [Fri, 6 Dec 1996 13:25:52 +0000 (13:25 +0000)]
add nfs

27 years agoPromise to not change arg 2 & 3 to scanc
niklas [Fri, 6 Dec 1996 12:21:06 +0000 (12:21 +0000)]
Promise to not change arg 2 & 3 to scanc

27 years ago-p did not rename 2 variables; netbsd pr#2997, mike.long@analog.com
deraadt [Fri, 6 Dec 1996 12:07:13 +0000 (12:07 +0000)]
-p did not rename 2 variables; netbsd pr#2997, mike.long@analog.com

27 years agorepair max sectors
deraadt [Fri, 6 Dec 1996 11:23:02 +0000 (11:23 +0000)]
repair max sectors

27 years agomake other floppy nodes
deraadt [Fri, 6 Dec 1996 10:49:44 +0000 (10:49 +0000)]
make other floppy nodes

27 years agoback to 16 partitions
deraadt [Fri, 6 Dec 1996 10:43:53 +0000 (10:43 +0000)]
back to 16 partitions

27 years agoradius services
downsj [Fri, 6 Dec 1996 08:52:41 +0000 (08:52 +0000)]
radius services

27 years ago-Wcast-qual cleanup
niklas [Fri, 6 Dec 1996 08:08:17 +0000 (08:08 +0000)]
-Wcast-qual cleanup

27 years agowait for spawned children, and remember to EXIT INOUR CHILD! geez..
deraadt [Fri, 6 Dec 1996 02:28:58 +0000 (02:28 +0000)]
wait for spawned children, and remember to EXIT INOUR CHILD! geez..

27 years agowarn and _exit
deraadt [Fri, 6 Dec 1996 02:14:56 +0000 (02:14 +0000)]
warn and _exit

27 years agovfork w/ exit botch
deraadt [Fri, 6 Dec 1996 02:09:04 +0000 (02:09 +0000)]
vfork w/ exit botch

27 years agovfork w/ exit botch
deraadt [Fri, 6 Dec 1996 01:54:58 +0000 (01:54 +0000)]
vfork w/ exit botch

27 years agoduh
deraadt [Fri, 6 Dec 1996 00:12:21 +0000 (00:12 +0000)]
duh

27 years agoStop info gathering attack pointed out by Alan Cox <alan@cymru.net>
millert [Thu, 5 Dec 1996 23:14:27 +0000 (23:14 +0000)]
Stop info gathering attack pointed out by Alan Cox <alan@cymru.net>
Only return ENOENT if the dir trying to be mounted is really exported
to the client.  Return EACCESS if not exported.

27 years agoNetBSD PR#2910: Recognize Pentium Pro machines
dm [Thu, 5 Dec 1996 18:08:05 +0000 (18:08 +0000)]
NetBSD PR#2910: Recognize Pentium Pro machines

27 years agolet us get this right finally...
deraadt [Thu, 5 Dec 1996 17:40:01 +0000 (17:40 +0000)]
let us get this right finally...

27 years agowhoops, correct d_nsectors
deraadt [Thu, 5 Dec 1996 17:22:40 +0000 (17:22 +0000)]
whoops, correct d_nsectors

27 years agomirror isa fd driver in disklabel handling
deraadt [Thu, 5 Dec 1996 17:16:59 +0000 (17:16 +0000)]
mirror isa fd driver in disklabel handling

27 years agoremove duplicate code; nice readdisklabel warning messages
deraadt [Thu, 5 Dec 1996 17:16:05 +0000 (17:16 +0000)]
remove duplicate code; nice readdisklabel warning messages

27 years agofix locking on devices to work on diskless workstations
kstailey [Thu, 5 Dec 1996 16:25:08 +0000 (16:25 +0000)]
fix locking on devices to work on diskless workstations

27 years agotypo
deraadt [Thu, 5 Dec 1996 15:00:40 +0000 (15:00 +0000)]
typo

27 years agodo setroot() based on wd.h/NWD and fd.h/NFD
deraadt [Thu, 5 Dec 1996 14:27:50 +0000 (14:27 +0000)]
do setroot() based on wd.h/NWD and fd.h/NFD

27 years agopack cd9660 volume id into disklabel struct; very pretty result
deraadt [Thu, 5 Dec 1996 13:40:28 +0000 (13:40 +0000)]
pack cd9660 volume id into disklabel struct; very pretty result

27 years agocall iso_disklabelspoof() if neccessary
deraadt [Thu, 5 Dec 1996 13:22:10 +0000 (13:22 +0000)]
call iso_disklabelspoof() if neccessary

27 years agobring back floppy partitions. but now they are at theold major, and max 2
deraadt [Thu, 5 Dec 1996 13:18:12 +0000 (13:18 +0000)]
bring back floppy partitions. but now they are at theold major, and max 2

27 years agobring back partitions
deraadt [Thu, 5 Dec 1996 13:13:21 +0000 (13:13 +0000)]
bring back partitions

27 years agoif block size is > 2048, set it to 2048. atapi drives that lie!
deraadt [Thu, 5 Dec 1996 13:12:11 +0000 (13:12 +0000)]
if block size is > 2048, set it to 2048. atapi drives that lie!

27 years agocall readdisklabel() in the same fashion as sd.c does
deraadt [Thu, 5 Dec 1996 13:10:24 +0000 (13:10 +0000)]
call readdisklabel() in the same fashion as sd.c does

27 years agocall iso_disklabelspoof() as needed...
deraadt [Thu, 5 Dec 1996 13:09:35 +0000 (13:09 +0000)]
call iso_disklabelspoof() as needed...

27 years agoproto iso_disklabelspoof() inside an #ifdef (no nicer place)
deraadt [Thu, 5 Dec 1996 13:08:47 +0000 (13:08 +0000)]
proto iso_disklabelspoof() inside an #ifdef (no nicer place)

27 years agoprovide iso_disklabelspoof()
deraadt [Thu, 5 Dec 1996 13:08:11 +0000 (13:08 +0000)]
provide iso_disklabelspoof()

27 years agoinverted logic
deraadt [Thu, 5 Dec 1996 08:13:08 +0000 (08:13 +0000)]
inverted logic

27 years agoFreeBSD calendar(1) + OpenBSD changes.
millert [Thu, 5 Dec 1996 06:04:36 +0000 (06:04 +0000)]
FreeBSD calendar(1) + OpenBSD changes.

27 years ago4.4lite2, safely uses malloc, with freebsd fixes too
deraadt [Thu, 5 Dec 1996 05:37:10 +0000 (05:37 +0000)]
4.4lite2, safely uses malloc, with freebsd fixes too

27 years agoImplement a few more escape sequences that BSD/OS has defined for pccons;
tholo [Thu, 5 Dec 1996 04:40:26 +0000 (04:40 +0000)]
Implement a few more escape sequences that BSD/OS has defined for pccons;
fixes NetBSD PR 2947.  Note that some of the new sequences are accepted but
ignored

27 years agochange open of /dev/tty to "r+" rather than "w+". if /dev/tty is
chuck [Wed, 4 Dec 1996 23:02:13 +0000 (23:02 +0000)]
change open of /dev/tty to "r+" rather than "w+".   if /dev/tty is
missing there is no point creating a plain text file to replace it.
(related to a problem jkatz had)

27 years agofix
downsj [Wed, 4 Dec 1996 21:29:29 +0000 (21:29 +0000)]
fix

27 years agosanitize return value. NULL on failure, always.
downsj [Wed, 4 Dec 1996 21:25:33 +0000 (21:25 +0000)]
sanitize return value.  NULL on failure, always.

27 years agouse TCSADRAIN instead of TCSANOW, to avoid dropping characters.
millert [Wed, 4 Dec 1996 17:46:07 +0000 (17:46 +0000)]
use TCSADRAIN instead of TCSANOW, to avoid dropping characters.
Fix from NetBSD (christos), reported by Chris Torek.

27 years agoDESTDIR fixing
deraadt [Wed, 4 Dec 1996 11:54:01 +0000 (11:54 +0000)]
DESTDIR fixing

27 years agorearrange argv[0] code
deraadt [Wed, 4 Dec 1996 10:26:36 +0000 (10:26 +0000)]
rearrange argv[0] code

27 years agovfork bye bye
deraadt [Wed, 4 Dec 1996 10:25:57 +0000 (10:25 +0000)]
vfork bye bye

27 years agoroundup error; netbsd pr#2944, augustss@cs.chalmers.se
deraadt [Wed, 4 Dec 1996 10:04:44 +0000 (10:04 +0000)]
roundup error; netbsd pr#2944, augustss@cs.chalmers.se

27 years agonice argv[0], please do not bite me
deraadt [Wed, 4 Dec 1996 09:40:41 +0000 (09:40 +0000)]
nice argv[0], please do not bite me

27 years agosecurity holes: seek and ye shall find
deraadt [Wed, 4 Dec 1996 09:06:00 +0000 (09:06 +0000)]
security holes: seek and ye shall find

27 years agofix usage
deraadt [Wed, 4 Dec 1996 08:52:18 +0000 (08:52 +0000)]
fix usage

27 years agofix a typo
deraadt [Wed, 4 Dec 1996 08:49:05 +0000 (08:49 +0000)]
fix a typo

27 years agocooperate with -t from newfs, and rename to /sbin/newfs_lfs as the naming scheme...
deraadt [Wed, 4 Dec 1996 08:39:31 +0000 (08:39 +0000)]
cooperate with -t from newfs, and rename to /sbin/newfs_lfs as the naming scheme requires

27 years agofirst cut at "newfs -t fstype device". this is very neat
deraadt [Wed, 4 Dec 1996 08:38:58 +0000 (08:38 +0000)]
first cut at "newfs -t fstype device". this is very neat

27 years agodo not freak out if we see a -t argument
deraadt [Wed, 4 Dec 1996 08:33:58 +0000 (08:33 +0000)]
do not freak out if we see a -t argument

27 years agoAdd support for BSD/OS
niklas [Wed, 4 Dec 1996 08:21:00 +0000 (08:21 +0000)]
Add support for BSD/OS

27 years agoTake advantage of new "-u" flag in login(1).
millert [Wed, 4 Dec 1996 04:11:44 +0000 (04:11 +0000)]
Take advantage of new "-u" flag in login(1).

27 years agoImplement -u (remote user) option for login (only root may use it).
millert [Wed, 4 Dec 1996 04:04:41 +0000 (04:04 +0000)]
Implement -u (remote user) option for login (only root may use it).
We now store remote user in failedlogin struct too.
Also add REMOTEHOST and REMOTEUSER environmental vars.

27 years agofix big endian; Encode/Decode
deraadt [Wed, 4 Dec 1996 02:31:56 +0000 (02:31 +0000)]
fix big endian; Encode/Decode

27 years agoformatting error
deraadt [Wed, 4 Dec 1996 02:14:27 +0000 (02:14 +0000)]
formatting error

27 years agoindent
deraadt [Wed, 4 Dec 1996 02:02:23 +0000 (02:02 +0000)]
indent

27 years agoadd rfc1184 components; from robin@mailgate.dtc.rankxerox.co.uk
deraadt [Wed, 4 Dec 1996 01:56:09 +0000 (01:56 +0000)]
add rfc1184 components; from robin@mailgate.dtc.rankxerox.co.uk

27 years ago64 bit patches, tih@nhh.no
deraadt [Wed, 4 Dec 1996 01:41:51 +0000 (01:41 +0000)]
64 bit patches, tih@nhh.no

27 years agouse readlabelfs() if possible
deraadt [Wed, 4 Dec 1996 01:31:10 +0000 (01:31 +0000)]
use readlabelfs() if possible

27 years agoMissing OpenBSD pieces, DOH!
niklas [Tue, 3 Dec 1996 11:28:32 +0000 (11:28 +0000)]
Missing OpenBSD pieces, DOH!

27 years agoclr TS_WOPEN if bailing on cua opens
deraadt [Tue, 3 Dec 1996 11:08:28 +0000 (11:08 +0000)]
clr TS_WOPEN if bailing on cua opens

27 years ago/usr/share/misc/termcap
deraadt [Tue, 3 Dec 1996 08:25:22 +0000 (08:25 +0000)]
/usr/share/misc/termcap

27 years agonever bitch about first failure
deraadt [Tue, 3 Dec 1996 08:20:03 +0000 (08:20 +0000)]
never bitch about first failure