openbsd
27 years ago.mk changes faster then i type....
mickey [Tue, 29 Apr 1997 00:10:05 +0000 (00:10 +0000)]
.mk changes faster then i type....

27 years agoFrom NetBSD (lukem):
millert [Mon, 28 Apr 1997 21:10:06 +0000 (21:10 +0000)]
From NetBSD (lukem):
  Cleanup parser of ftp://[user:pass@]host[:port]/[dir/][file
  Should be more robust now.  Fixes NetBSD PR #3520.

27 years agoDocument dc flag from NetBSD (mellon)
millert [Mon, 28 Apr 1997 20:52:46 +0000 (20:52 +0000)]
Document dc flag from NetBSD (mellon)

27 years ago- cast usages of *printf() to void since we don't check return val
millert [Mon, 28 Apr 1997 20:44:55 +0000 (20:44 +0000)]
- cast usages of *printf() to void since we don't check return val
- move an assert to be *before* a strcpy() where it can do some good.
- integrate NetBSD fixes for 64-bit machines (NetBSD PR #3450, Ross Harvey)
- add lite2 tags

27 years agoDeal with $TERM not being set (like in single user mode).
millert [Mon, 28 Apr 1997 20:35:59 +0000 (20:35 +0000)]
Deal with $TERM not being set (like in single user mode).

27 years agoUse strtoul() not strtol() when assigning to an unsigned long.
millert [Mon, 28 Apr 1997 20:23:19 +0000 (20:23 +0000)]
Use strtoul() not strtol() when assigning to an unsigned long.

27 years agoAdded faddr/laddr on the pfkeycb, for completeness.
angelos [Mon, 28 Apr 1997 19:21:15 +0000 (19:21 +0000)]
Added faddr/laddr on the pfkeycb, for completeness.

27 years ago2.1
niklas [Mon, 28 Apr 1997 12:06:33 +0000 (12:06 +0000)]
2.1

27 years ago2.1
niklas [Mon, 28 Apr 1997 11:41:07 +0000 (11:41 +0000)]
2.1

27 years ago2.1
niklas [Mon, 28 Apr 1997 11:20:09 +0000 (11:20 +0000)]
2.1

27 years agoKernel release is 2.1.
downsj [Mon, 28 Apr 1997 10:38:59 +0000 (10:38 +0000)]
Kernel release is 2.1.

27 years agoAdd getsecs(). Use biostime & biosdate routines.
weingart [Mon, 28 Apr 1997 07:39:00 +0000 (07:39 +0000)]
Add getsecs().  Use biostime & biosdate routines.
Parse and convert to seconds since epoch.  Please
test, there is a new command "time", which should
print the current time (according to the BIOS) on
the console.

27 years agoClean up terminal type handling.
downsj [Mon, 28 Apr 1997 06:03:51 +0000 (06:03 +0000)]
Clean up terminal type handling.

27 years agoModernize protyped, switch to libtermlib.
downsj [Mon, 28 Apr 1997 05:48:32 +0000 (05:48 +0000)]
Modernize protyped, switch to libtermlib.

27 years agoBack out newer .USE code as it caused problems. I've done a "make build"
millert [Mon, 28 Apr 1997 01:52:36 +0000 (01:52 +0000)]
Back out newer .USE code as it caused problems.  I've done a "make build"
without problems and the problem Theo saw before is gone.

27 years agoThe type of a pointer to const characters is not the same as a const pointer
niklas [Mon, 28 Apr 1997 01:33:47 +0000 (01:33 +0000)]
The type of a pointer to const characters is not the same as a const pointer
to non-const characters.  Besides, the prototypes for copyin and friends, as
well as timeout/untimeout takes void *, not caddr_t (char *), so I matched
them.  Slight KNF.  This change makes it pass -Wcast-qual.

27 years agoindent
deraadt [Mon, 28 Apr 1997 00:40:14 +0000 (00:40 +0000)]
indent

27 years agoPrevious patch didn't make much sense. We now set the initial NFS xid
angelos [Mon, 28 Apr 1997 00:37:06 +0000 (00:37 +0000)]
Previous patch didn't make much sense. We now set the initial NFS xid
(for requests) to some random value, and then increase that by a small
(1-255) random value for each requests.

27 years agoRandom/unique NFS xids.
angelos [Sun, 27 Apr 1997 23:55:49 +0000 (23:55 +0000)]
Random/unique NFS xids.

27 years agobuf oflow paranoia
deraadt [Sun, 27 Apr 1997 23:09:42 +0000 (23:09 +0000)]
buf oflow paranoia

27 years agoRandomize RPC xid.
angelos [Sun, 27 Apr 1997 23:06:01 +0000 (23:06 +0000)]
Randomize RPC xid.

27 years agoTypo and return value for arc4random().
angelos [Sun, 27 Apr 1997 22:40:25 +0000 (22:40 +0000)]
Typo and return value for arc4random().

27 years agoEven more reality. md.alpha is also fairly complete
niklas [Sun, 27 Apr 1997 22:26:10 +0000 (22:26 +0000)]
Even more reality.  md.alpha is also fairly complete

27 years agore-randomize xid on reuse of a CLIENT *; pointed out by adam@math.tau.ac.il
deraadt [Sun, 27 Apr 1997 22:23:31 +0000 (22:23 +0000)]
re-randomize xid on reuse of a CLIENT *; pointed out by adam@math.tau.ac.il

27 years agohandle hex-like hostnames
deraadt [Sun, 27 Apr 1997 22:20:47 +0000 (22:20 +0000)]
handle hex-like hostnames

27 years agobetter failure msg; martin@rumolt.teuto.de
deraadt [Sun, 27 Apr 1997 21:45:16 +0000 (21:45 +0000)]
better failure msg; martin@rumolt.teuto.de

27 years agoCOPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP changes.
millert [Sun, 27 Apr 1997 21:38:25 +0000 (21:38 +0000)]
COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP changes.
For some reason the previous commit did not grab these.

27 years agoCOPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
millert [Sun, 27 Apr 1997 20:55:40 +0000 (20:55 +0000)]
COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.

27 years agoFurther towards reality
niklas [Sun, 27 Apr 1997 20:46:38 +0000 (20:46 +0000)]
Further towards reality

27 years agoBring the sets closer to reality. mi & md.amiga is fairly complete
niklas [Sun, 27 Apr 1997 20:13:36 +0000 (20:13 +0000)]
Bring the sets closer to reality.  mi & md.amiga is fairly complete
the others need more work for sure.  Maybe we will not use the sets anyhow,
but still I want this out of my tree.

27 years agoWhat was I thinking?
briggs [Sun, 27 Apr 1997 19:28:39 +0000 (19:28 +0000)]
What was I thinking?

27 years agoAllow BSDSRCDIR to point to a symlink. This means /usr/src can be a symlink
niklas [Sun, 27 Apr 1997 15:47:49 +0000 (15:47 +0000)]
Allow BSDSRCDIR to point to a symlink.  This means /usr/src can be a symlink
without having to explicitly set BSDSRCDIR

27 years agoPrototype fixes and cruft removal.
downsj [Sun, 27 Apr 1997 13:48:54 +0000 (13:48 +0000)]
Prototype fixes and cruft removal.

27 years agoMore includes for library prototypes.
downsj [Sun, 27 Apr 1997 13:11:38 +0000 (13:11 +0000)]
More includes for library prototypes.

27 years agoNo more setargs.c.
downsj [Sun, 27 Apr 1997 13:03:11 +0000 (13:03 +0000)]
No more setargs.c.

27 years agoPull in more includes to properly prototype library functions, kill local
downsj [Sun, 27 Apr 1997 13:01:27 +0000 (13:01 +0000)]
Pull in more includes to properly prototype library functions, kill local
decls of library functions, kill local implementation of setproctitle().

This of course points out how utterly bad this code is and that someone needs
to come in here with a chainsaw sometime.

27 years agoCorrect assumed editing mistakes.
downsj [Sun, 27 Apr 1997 10:55:31 +0000 (10:55 +0000)]
Correct assumed editing mistakes.

27 years agoReality check.
downsj [Sun, 27 Apr 1997 05:01:12 +0000 (05:01 +0000)]
Reality check.

27 years agoPFKEY protocol control blocks.
angelos [Sun, 27 Apr 1997 04:34:07 +0000 (04:34 +0000)]
PFKEY protocol control blocks.

27 years agodocument the meaning of protocol = 0.
michaels [Sat, 26 Apr 1997 23:04:35 +0000 (23:04 +0000)]
document the meaning of protocol = 0.

27 years agomy keyboard made a typo.
michaels [Sat, 26 Apr 1997 22:13:41 +0000 (22:13 +0000)]
my keyboard made a typo.

27 years agocorrect declaration given for herror(3) and describe better.
michaels [Sat, 26 Apr 1997 22:06:38 +0000 (22:06 +0000)]
correct declaration given for herror(3) and describe better.

27 years agosamplle boot.conf file
mickey [Sat, 26 Apr 1997 17:52:17 +0000 (17:52 +0000)]
samplle boot.conf file
current placement is /etc/boot.conf .... change if you want, but
i think that /boot.conf is much worse

27 years agoboot.conf support
mickey [Sat, 26 Apr 1997 17:50:07 +0000 (17:50 +0000)]
boot.conf support
ttyname function in cons.c
rdonly var 'tty' to view tty settings
serial console soon

27 years agostruct definitions in .h files and instances in .c file please.
kstailey [Sat, 26 Apr 1997 12:09:58 +0000 (12:09 +0000)]
struct definitions in .h files and instances in .c file please.

Vic Able:

> While <miscfs/kernfs/kernfs.h> has a kernfs_node, it depends
> on a structure that's defined in <miscfs/kernfs/kernfs_vnops.c>.
> Oops!  That's not very social.  :-)

[I built a new kernel fine, but don't have time to run "make build"
 it is my intuition that this will not have any bad effects, but
 I didn't test.  Just back it out if it hurts you and I'll try again.]

27 years agoFirst argument to nanosleep(2) is const; so is the first argument to
tholo [Sat, 26 Apr 1997 10:38:30 +0000 (10:38 +0000)]
First argument to nanosleep(2) is const; so is the first argument to
copyin(9).  Propagate this.

27 years agoUse SYSLIBC_SCCS; these are syscalls
tholo [Sat, 26 Apr 1997 08:50:12 +0000 (08:50 +0000)]
Use SYSLIBC_SCCS; these are syscalls

27 years agoAdd $OpenBSD$ tags
tholo [Sat, 26 Apr 1997 08:49:33 +0000 (08:49 +0000)]
Add $OpenBSD$ tags

27 years agoAllow a private tag when we expand RCS identifiers ourselves as well.
tholo [Sat, 26 Apr 1997 08:33:28 +0000 (08:33 +0000)]
Allow a private tag when we expand RCS identifiers ourselves as well.

27 years agoCool. Drop oversized packets rather than splitting into mbufs. NetBSD log:
gene [Fri, 25 Apr 1997 22:15:26 +0000 (22:15 +0000)]
Cool.  Drop oversized packets rather than splitting into mbufs.  NetBSD log:
>From Mycroft:  If we fail to allocate a cluster to hold a large packet,
>simply drop it rather than using a chain of tiny mbufs.

27 years agoadd scsi & supporting file
deraadt [Fri, 25 Apr 1997 18:51:27 +0000 (18:51 +0000)]
add scsi & supporting file

27 years agosd2 & sd3 in ramdisk too
deraadt [Fri, 25 Apr 1997 18:51:05 +0000 (18:51 +0000)]
sd2 & sd3 in ramdisk too

27 years agomd5 too (yeah, i know this is not perfect)
deraadt [Fri, 25 Apr 1997 18:50:01 +0000 (18:50 +0000)]
md5 too (yeah, i know this is not perfect)

27 years agoadded select(2) to see also, mostly to test cvs commit
kstailey [Fri, 25 Apr 1997 18:45:24 +0000 (18:45 +0000)]
added select(2) to see also, mostly to test cvs commit

27 years agoReorganization fo boot() to make it more logical ala Scott Reynolds. Also,
gene [Fri, 25 Apr 1997 18:34:17 +0000 (18:34 +0000)]
Reorganization fo boot() to make it more logical ala Scott Reynolds.  Also,
fix some prototyping.

27 years ago1 byte underflow
deraadt [Fri, 25 Apr 1997 18:13:19 +0000 (18:13 +0000)]
1 byte underflow

27 years agofix broken tag
kstailey [Fri, 25 Apr 1997 17:09:44 +0000 (17:09 +0000)]
fix broken tag

27 years agoless inaccurate
kstailey [Fri, 25 Apr 1997 14:47:59 +0000 (14:47 +0000)]
less inaccurate

27 years agoless inaccurate
kstailey [Fri, 25 Apr 1997 14:39:00 +0000 (14:39 +0000)]
less inaccurate

27 years agodo not allow connect to a 2049 either, helps firewall cases; adam@math.tau.ac.il
deraadt [Fri, 25 Apr 1997 11:06:28 +0000 (11:06 +0000)]
do not allow connect to a 2049 either, helps firewall cases; adam@math.tau.ac.il

27 years agoproper mask check; mike@fast.cs.utah.edu
deraadt [Fri, 25 Apr 1997 09:33:24 +0000 (09:33 +0000)]
proper mask check; mike@fast.cs.utah.edu

27 years agorequire reserved ports. avoid ftp bounce.
deraadt [Fri, 25 Apr 1997 09:30:14 +0000 (09:30 +0000)]
require reserved ports. avoid ftp bounce.

27 years agoXXX should do reserved ports
deraadt [Fri, 25 Apr 1997 09:22:31 +0000 (09:22 +0000)]
XXX should do reserved ports

27 years agoskipped too many ids
provos [Fri, 25 Apr 1997 07:43:05 +0000 (07:43 +0000)]
skipped too many ids

27 years agoUse nanosleep(2)
tholo [Fri, 25 Apr 1997 04:20:41 +0000 (04:20 +0000)]
Use nanosleep(2)

27 years agoPrototype nanosleep(2)
tholo [Fri, 25 Apr 1997 03:55:20 +0000 (03:55 +0000)]
Prototype nanosleep(2)

27 years agoA couple of performance improvements from Denny Gentry <denny1@home.com>
briggs [Fri, 25 Apr 1997 03:29:14 +0000 (03:29 +0000)]
A couple of performance improvements from Denny Gentry <denny1@home.com>

27 years agodelete garbage
deraadt [Fri, 25 Apr 1997 02:23:33 +0000 (02:23 +0000)]
delete garbage

27 years ago64bit cleanup.
angelos [Fri, 25 Apr 1997 01:19:20 +0000 (01:19 +0000)]
64bit cleanup.

27 years agoPF_KEYv2 definition as of the latest draft.
angelos [Thu, 24 Apr 1997 23:01:00 +0000 (23:01 +0000)]
PF_KEYv2 definition as of the latest draft.

27 years agoAdded PF_KEY definition.
angelos [Thu, 24 Apr 1997 21:34:50 +0000 (21:34 +0000)]
Added PF_KEY definition.

27 years agoextra " in -s initialization
deraadt [Thu, 24 Apr 1997 18:30:44 +0000 (18:30 +0000)]
extra " in -s initialization

27 years agowrong mode, oops
deraadt [Thu, 24 Apr 1997 18:30:30 +0000 (18:30 +0000)]
wrong mode, oops

27 years agofix subtle bug in the m88k assembler, without this fix it would not assemble
rahnds [Thu, 24 Apr 1997 18:10:16 +0000 (18:10 +0000)]
fix subtle bug in the m88k assembler, without this fix it would not assemble
the instruction "rot      r24,r24,r13" because it did not accept the
shift about being specified by the register.

27 years agoDon't even support LFS in the kernel.
downsj [Thu, 24 Apr 1997 08:37:46 +0000 (08:37 +0000)]
Don't even support LFS in the kernel.

27 years agoRevert last change
tholo [Thu, 24 Apr 1997 08:37:09 +0000 (08:37 +0000)]
Revert last change

27 years agoPad out trailing parts of the address with zeros so we get a legal network
tholo [Thu, 24 Apr 1997 08:35:21 +0000 (08:35 +0000)]
Pad out trailing parts of the address with zeros so we get a legal network
address when only the first octets are given (eg. 140.174 ==> 140.174.0.0)

27 years agoEnforce read only mounts. No exceptions.
downsj [Thu, 24 Apr 1997 08:28:54 +0000 (08:28 +0000)]
Enforce read only mounts.  No exceptions.

27 years agoDon't build LFS, it doesn't work.
downsj [Thu, 24 Apr 1997 08:23:02 +0000 (08:23 +0000)]
Don't build LFS, it doesn't work.

27 years agoDon't build LFS, it doesn't work.
downsj [Thu, 24 Apr 1997 08:17:23 +0000 (08:17 +0000)]
Don't build LFS, it doesn't work.

27 years agoInspired by NetBSD changes: ditch AE_DEBUG diagnostics. This kills the AE_DEBUG...
gene [Thu, 24 Apr 1997 02:17:56 +0000 (02:17 +0000)]
Inspired by NetBSD changes: ditch AE_DEBUG diagnostics.  This kills the AE_DEBUG option (if for some reason anyone is using it).

27 years agoFollowingthe Scott Reynolds gravy train, very minor:
gene [Thu, 24 Apr 1997 02:10:15 +0000 (02:10 +0000)]
Followingthe Scott Reynolds gravy train, very minor:
>#ifdef DIAGNOSTIC, print the NuBus type fields for unrecognized boards.

27 years agoFrom Scott Reynolds:
gene [Thu, 24 Apr 1997 00:54:34 +0000 (00:54 +0000)]
From Scott Reynolds:
>Clean up unused code, KNF bus_probe()

27 years agopmod to u_int16_t, Angelos kindly reminded me
provos [Wed, 23 Apr 1997 22:37:50 +0000 (22:37 +0000)]
pmod to u_int16_t, Angelos kindly reminded me

27 years agoFix "bug" in linker. actually was bug in asm files that did not correctly
rahnds [Wed, 23 Apr 1997 21:28:15 +0000 (21:28 +0000)]
Fix "bug" in linker. actually was bug in asm files that did not correctly
align the global data. This allows the workaround in crt0 to be removed.

27 years agoCommit the gas and ld portions for the mvme88k port.
rahnds [Wed, 23 Apr 1997 21:24:39 +0000 (21:24 +0000)]
Commit the gas and ld portions for the mvme88k port.

27 years agoFix vnd nodes.
gvf [Wed, 23 Apr 1997 20:38:59 +0000 (20:38 +0000)]
Fix vnd nodes.

27 years agoallow "ftp -aV ftp://host/foo.tar.gz | tar xvfpz -" to work
deraadt [Wed, 23 Apr 1997 20:32:57 +0000 (20:32 +0000)]
allow "ftp -aV ftp://host/foo.tar.gz | tar xvfpz -" to work

27 years agotypo
gvf [Wed, 23 Apr 1997 19:52:16 +0000 (19:52 +0000)]
typo

27 years agoTreat "finger@" like "finger@localhost" to act more like
millert [Wed, 23 Apr 1997 19:17:29 +0000 (19:17 +0000)]
Treat "finger@" like "finger@localhost" to act more like
traditional finger.  Noticed by Theo.

27 years agoadd a lot of /bin/sh before calling scripts like config.guess and so
graichen [Wed, 23 Apr 1997 15:38:33 +0000 (15:38 +0000)]
add a lot of /bin/sh before calling scripts like config.guess and so
on - this way now the whole tree builds without requiring any file
being executable (binutils was the last which required it) - now
ctm -> cvs checkout -> make build works just fine (aside from
other bugs in the source tree :-)

27 years agoClean up disk reset code
weingart [Wed, 23 Apr 1997 14:49:23 +0000 (14:49 +0000)]
Clean up disk reset code

27 years agoOn video devices, if we're loading non-default resource values, save the
briggs [Wed, 23 Apr 1997 13:38:35 +0000 (13:38 +0000)]
On video devices, if we're loading non-default resource values, save the
resource ID.  Thanks to Paul Goyette <paul@pgoyette.bdt.com> for spotting
this one.

27 years agoNONBINMODE
deraadt [Wed, 23 Apr 1997 11:34:43 +0000 (11:34 +0000)]
NONBINMODE

27 years ago2.1
deraadt [Wed, 23 Apr 1997 11:24:43 +0000 (11:24 +0000)]
2.1

27 years agolink for mount_ext2fs
deraadt [Wed, 23 Apr 1997 11:24:27 +0000 (11:24 +0000)]
link for mount_ext2fs

27 years agoeven more local services must die
deraadt [Wed, 23 Apr 1997 10:26:55 +0000 (10:26 +0000)]
even more local services must die

27 years agoIn nanosleep, use local error variable when storing rqtp in so that an error
tholo [Wed, 23 Apr 1997 09:52:03 +0000 (09:52 +0000)]
In nanosleep, use local error variable when storing rqtp in so that an error
from a failed tsleep will still be returned to the caller; from jtc@NetBSD

27 years agouse daemon()
deraadt [Wed, 23 Apr 1997 09:33:43 +0000 (09:33 +0000)]
use daemon()

27 years agorevised to handle form feeds, bugs fixed etc
grr [Wed, 23 Apr 1997 08:08:28 +0000 (08:08 +0000)]
revised to handle form feeds, bugs fixed etc