openbsd
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

27 years agoclear sense buffer for mode sense 4, dms@celtech.com
deraadt [Tue, 3 Dec 1996 08:08:00 +0000 (08:08 +0000)]
clear sense buffer for mode sense 4, dms@celtech.com

27 years agoDOH, com moved to ic
niklas [Tue, 3 Dec 1996 07:48:23 +0000 (07:48 +0000)]
DOH, com moved to ic

27 years agopartial merge with NetBSD
kstailey [Tue, 3 Dec 1996 07:36:29 +0000 (07:36 +0000)]
partial merge with NetBSD

27 years agocleanup debug; pointed out by darcy@druid.com
deraadt [Tue, 3 Dec 1996 07:34:36 +0000 (07:34 +0000)]
cleanup debug; pointed out by darcy@druid.com

27 years agovoid cystop() -> int cystop()
kstailey [Tue, 3 Dec 1996 05:28:21 +0000 (05:28 +0000)]
void cystop() -> int cystop()

27 years agovoid zsstop() -> int zsstop()
kstailey [Tue, 3 Dec 1996 05:21:46 +0000 (05:21 +0000)]
void zsstop() -> int zsstop()

27 years agowell it used to.
kstailey [Tue, 3 Dec 1996 05:16:36 +0000 (05:16 +0000)]
well it used to.

27 years agodev_type_stop() returns void not int
kstailey [Tue, 3 Dec 1996 05:09:04 +0000 (05:09 +0000)]
dev_type_stop() returns void not int

27 years ago-A for anon only; from freebsd
deraadt [Tue, 3 Dec 1996 03:07:16 +0000 (03:07 +0000)]
-A for anon only; from freebsd

27 years agocomreg/var moved, niklas
deraadt [Tue, 3 Dec 1996 02:31:57 +0000 (02:31 +0000)]
comreg/var moved, niklas

27 years agohandle "/*" path parsing correctly; netbsd pr#2970, darcey@druid.com
deraadt [Tue, 3 Dec 1996 01:33:47 +0000 (01:33 +0000)]
handle "/*" path parsing correctly; netbsd pr#2970, darcey@druid.com

27 years agopull types.h for xpg
deraadt [Tue, 3 Dec 1996 01:30:56 +0000 (01:30 +0000)]
pull types.h for xpg

27 years ago\r and \n must be distinguished in some cases (telnet); netbsd pr#2969;
deraadt [Tue, 3 Dec 1996 01:29:54 +0000 (01:29 +0000)]
\r and \n must be distinguished in some cases (telnet); netbsd pr#2969;
darcy@druid.com

27 years agoinc
downsj [Tue, 3 Dec 1996 01:07:54 +0000 (01:07 +0000)]
inc

27 years agoAdd readlabelfs()'s table, a shorter form of fstypenames.
downsj [Tue, 3 Dec 1996 01:06:50 +0000 (01:06 +0000)]
Add readlabelfs()'s table, a shorter form of fstypenames.

27 years agoAdd readlabelfs().
downsj [Tue, 3 Dec 1996 01:05:35 +0000 (01:05 +0000)]
Add readlabelfs().

27 years agoreadlabelfs() moves to libutil, and return value changes.
downsj [Tue, 3 Dec 1996 01:04:43 +0000 (01:04 +0000)]
readlabelfs() moves to libutil, and return value changes.

27 years agos/host/domain/
deraadt [Tue, 3 Dec 1996 00:28:39 +0000 (00:28 +0000)]
s/host/domain/

27 years agoO_TRUNC when needed; freebsd pr#2112
deraadt [Tue, 3 Dec 1996 00:25:52 +0000 (00:25 +0000)]
O_TRUNC when needed; freebsd pr#2112

27 years agobail nice
deraadt [Mon, 2 Dec 1996 21:14:16 +0000 (21:14 +0000)]
bail nice

27 years agoincrease default data limit to size needed for make build
kstailey [Mon, 2 Dec 1996 14:20:41 +0000 (14:20 +0000)]
increase default data limit to size needed for make build

27 years agoCorrect the connecthelp info. This is really ftp, not tftp.
millert [Sun, 1 Dec 1996 05:27:22 +0000 (05:27 +0000)]
Correct the connecthelp info. This is really ftp, not tftp.
From NetBSD (fvdl).

27 years agoFix byte-order bug in net number comparison (NetBSD).
millert [Sun, 1 Dec 1996 05:25:55 +0000 (05:25 +0000)]
Fix byte-order bug in net number comparison (NetBSD).
From Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>, NetBSD PR #2961.

27 years agoParser fix from NetBSD (christos)
millert [Sun, 1 Dec 1996 05:09:51 +0000 (05:09 +0000)]
Parser fix from NetBSD (christos)
- ! was only recognized in the beginning of pipelines.  Now we
  are recognizing it everywhere like ksh, so the following works.
! if [ a = b ]; then ! echo c && ! true; else ! echo d; fi

27 years agoInstall ksh as sh too.
downsj [Sat, 30 Nov 1996 23:54:35 +0000 (23:54 +0000)]
Install ksh as sh too.

27 years agoA stab at controlling SUBDIRS per arch, still problematic, but works
niklas [Sat, 30 Nov 1996 23:13:41 +0000 (23:13 +0000)]
A stab at controlling SUBDIRS per arch, still problematic, but works
as commentary for the moment

27 years agosync
downsj [Sat, 30 Nov 1996 23:04:38 +0000 (23:04 +0000)]
sync

27 years agofix order of #if defined's so it compiles
millert [Sat, 30 Nov 1996 21:54:53 +0000 (21:54 +0000)]
fix order of #if defined's so it compiles

27 years agoSync with NetBSD:
millert [Sat, 30 Nov 1996 21:08:48 +0000 (21:08 +0000)]
Sync with NetBSD:
- Merge in FreeBSD and Lite2 changes.
- Fix bug where a non-archive target with a .a suffix would always
  be considered to be out of date, since it does not have a TOC.
- Fix NetBSD PR #2930: declare missing variable.

27 years agofilesystem is named "ffs" not "ufs".
millert [Sat, 30 Nov 1996 18:12:51 +0000 (18:12 +0000)]
filesystem is named "ffs" not "ufs".

27 years agoMerged our changes back into 4.4BSD version.
millert [Sat, 30 Nov 1996 17:50:58 +0000 (17:50 +0000)]
Merged our changes back into 4.4BSD version.
Can't do "find -ls" since we need to store the date in an absolute format
(ls -T).  Use "find -print0" | xargs -0 instead.

27 years agoinstall locate.rc, noted by millert.
michaels [Sat, 30 Nov 1996 16:40:22 +0000 (16:40 +0000)]
install locate.rc, noted by millert.

27 years agoCom driver moved, still somewhat ISA-dependent though, but it will
niklas [Sat, 30 Nov 1996 13:39:20 +0000 (13:39 +0000)]
Com driver moved, still somewhat ISA-dependent though, but it will
improve.  Pica and PCMCIA-dependent stuff factored out.

27 years agobus changes
downsj [Sat, 30 Nov 1996 11:54:32 +0000 (11:54 +0000)]
bus changes

27 years agosync
downsj [Sat, 30 Nov 1996 09:34:42 +0000 (09:34 +0000)]
sync

27 years agoCleaned up. lpt is MI now.
niklas [Sat, 30 Nov 1996 00:53:34 +0000 (00:53 +0000)]
Cleaned up.  lpt is MI now.

27 years agoMissed in last bus.h commit
niklas [Fri, 29 Nov 1996 23:51:13 +0000 (23:51 +0000)]
Missed in last bus.h commit

27 years agoAnother explicit include of machine/endian.h blowing up
imp [Fri, 29 Nov 1996 22:59:42 +0000 (22:59 +0000)]
Another explicit include of machine/endian.h blowing up

27 years agoMissing pieces of new bus.h that CVS lost behind my back
niklas [Fri, 29 Nov 1996 22:54:50 +0000 (22:54 +0000)]
Missing pieces of new bus.h that CVS lost behind my back

27 years agouse types.h rather than machine/endian.h. Latest htonl changes need that
imp [Fri, 29 Nov 1996 16:51:02 +0000 (16:51 +0000)]
use types.h rather than machine/endian.h.  Latest htonl changes need that

27 years agonote 1024 limit on text+data.
mickey [Fri, 29 Nov 1996 06:51:49 +0000 (06:51 +0000)]
note 1024 limit on text+data.

27 years agoback out bitmask_snprintf()
kstailey [Fri, 29 Nov 1996 04:53:38 +0000 (04:53 +0000)]
back out bitmask_snprintf()

27 years agoAdaption to new bus.h from NetBSD. Various driver has been updated to
niklas [Thu, 28 Nov 1996 23:27:36 +0000 (23:27 +0000)]
Adaption to new bus.h from NetBSD.  Various driver has been updated to
NetBSD 961107 state.  Other has not, partly because sometimes the bus.h
changes was coupled with other changes.

27 years agoAdaption to new bus.h from NetBSD. Various driver has been updated to
niklas [Thu, 28 Nov 1996 23:10:28 +0000 (23:10 +0000)]
Adaption to new bus.h from NetBSD.  Various driver has been updated to
NetBSD 961107 state.  Other has not, partly because sometimes the bus.h
changes was coupled with other changes.

27 years agoVarious configuration changes
niklas [Thu, 28 Nov 1996 20:12:30 +0000 (20:12 +0000)]
Various configuration changes

27 years agoFix a vararg proto
niklas [Thu, 28 Nov 1996 20:09:29 +0000 (20:09 +0000)]
Fix a vararg proto

27 years agoAdd special case code for the rPC44. The DMA buffers on this machine
imp [Thu, 28 Nov 1996 19:25:24 +0000 (19:25 +0000)]
Add special case code for the rPC44.  The DMA buffers on this machine
are not cache coherent, so for the moment use uncached addresses for
all buffer access.  In the future, more specific cache flushing should
be done.

rPC44 now boots into multi user off SCSI disk or the network, builds
its own kernel and seems to be making its way toward finishing a make
build.

Correct -Wall complaint when BTDEBUG defined while I'm here.

27 years agoActually draw the hanging. Remove some statics. Fix a bug in
niklas [Thu, 28 Nov 1996 19:01:49 +0000 (19:01 +0000)]
Actually draw the hanging.  Remove some statics.  Fix a bug in
case handling.  Still less than 1 K!  Most stuff from Andreas Gunnarsson,
<zzlevo@dd.chalmers.se>