openbsd
27 years agoMake possible truncation of long value more explicit
tholo [Wed, 30 Apr 1997 05:56:05 +0000 (05:56 +0000)]
Make possible truncation of long value more explicit

27 years agoRemove unused variables
tholo [Wed, 30 Apr 1997 05:54:43 +0000 (05:54 +0000)]
Remove unused variables

27 years agoBe specific about using unsigned values
tholo [Wed, 30 Apr 1997 05:53:51 +0000 (05:53 +0000)]
Be specific about using unsigned values

27 years agoBe more careful with mixing types
tholo [Wed, 30 Apr 1997 05:52:50 +0000 (05:52 +0000)]
Be more careful with mixing types

27 years agoRemove dead code and variables
tholo [Wed, 30 Apr 1997 05:51:09 +0000 (05:51 +0000)]
Remove dead code and variables

27 years agoDon't do pointer arithmetic on void pointers
tholo [Wed, 30 Apr 1997 05:50:17 +0000 (05:50 +0000)]
Don't do pointer arithmetic on void pointers

27 years agoBe silent about unused arguments
tholo [Wed, 30 Apr 1997 05:49:28 +0000 (05:49 +0000)]
Be silent about unused arguments

27 years agoAdd the entries powerpc port. These have not been examined closely, but
rahnds [Tue, 29 Apr 1997 22:08:58 +0000 (22:08 +0000)]
Add the entries powerpc port. These have not been examined closely, but
cleaned up the checkflist considerably. The main problem that was left
were files missing from the system, profiled libraries, some manpages,
a few other things. This is first cut.

27 years agoAdd ${SHAREDIR}, ${SHAREGRP}, ${SHAREOWN} and ${SHAREMODE}, they are used
tholo [Tue, 29 Apr 1997 22:04:20 +0000 (22:04 +0000)]
Add ${SHAREDIR}, ${SHAREGRP}, ${SHAREOWN} and ${SHAREMODE}, they are used
by ports

27 years agoGot it to fit in default 5MB again
niklas [Tue, 29 Apr 1997 21:54:20 +0000 (21:54 +0000)]
Got it to fit in default 5MB again

27 years agoFix miniroot. Add a quantum disk provided by dima@openbsd.org,
niklas [Tue, 29 Apr 1997 21:42:21 +0000 (21:42 +0000)]
Fix miniroot.  Add a quantum disk provided by dima@openbsd.org,
Cleanup so all Quantum disks are now Capitalized.

27 years agopossible buf oflow
deraadt [Tue, 29 Apr 1997 21:25:20 +0000 (21:25 +0000)]
possible buf oflow

27 years agoUse the new style to build vnds. General 2.1 cleanup.
niklas [Tue, 29 Apr 1997 20:37:09 +0000 (20:37 +0000)]
Use the new style to build vnds.  General 2.1 cleanup.

27 years agosparc needs more than 5MB in its miniroot, so use 8MB
niklas [Tue, 29 Apr 1997 20:35:17 +0000 (20:35 +0000)]
sparc needs more than 5MB in its miniroot, so use 8MB

27 years agooops
deraadt [Tue, 29 Apr 1997 19:28:38 +0000 (19:28 +0000)]
oops

27 years agocareful buffer handling
deraadt [Tue, 29 Apr 1997 19:15:46 +0000 (19:15 +0000)]
careful buffer handling

27 years agoMinor annoyance, synch with what we actually have in our conf directory:
gene [Tue, 29 Apr 1997 18:52:05 +0000 (18:52 +0000)]
Minor annoyance, synch with what we actually have in our conf directory:
including GENERICSBC and TIGER.  OpenBSD doesn't have an OCELOT.

27 years agomention that write updates timestamps
kstailey [Tue, 29 Apr 1997 18:28:42 +0000 (18:28 +0000)]
mention that write updates timestamps

27 years agoAdd the 2nd ss device found in sparc's MAKEDEV
niklas [Tue, 29 Apr 1997 17:32:06 +0000 (17:32 +0000)]
Add the 2nd ss device found in sparc's MAKEDEV

27 years agoFix syntax problems, workaround sh bugs
niklas [Tue, 29 Apr 1997 17:26:28 +0000 (17:26 +0000)]
Fix syntax problems, workaround sh bugs

27 years agoReality update. Sparc is there.
niklas [Tue, 29 Apr 1997 15:09:29 +0000 (15:09 +0000)]
Reality update.  Sparc is there.

27 years agoReality update. Sparc is there.
niklas [Tue, 29 Apr 1997 14:29:19 +0000 (14:29 +0000)]
Reality update.  Sparc is there.

27 years agoturn off DMA, it doesn't work
kstailey [Tue, 29 Apr 1997 13:09:25 +0000 (13:09 +0000)]
turn off DMA, it doesn't work

27 years agoTo get the manpages installed, you can't override the install
niklas [Tue, 29 Apr 1997 11:27:12 +0000 (11:27 +0000)]
To get the manpages installed, you can't override the install
target.  Instead override realinstall.

27 years agosomething is wrong with this level of randomness; let 2.1 go out with this "problem"
deraadt [Tue, 29 Apr 1997 08:52:31 +0000 (08:52 +0000)]
something is wrong with this level of randomness; let 2.1 go out with this "problem"

27 years agoThe 2.1 version of dev/pci/ncr.c isn't ready for arc yet
niklas [Tue, 29 Apr 1997 08:13:40 +0000 (08:13 +0000)]
The 2.1 version of dev/pci/ncr.c isn't ready for arc yet

27 years agoFix typo.
dima [Tue, 29 Apr 1997 07:47:20 +0000 (07:47 +0000)]
Fix typo.

27 years agolfs dies
deraadt [Tue, 29 Apr 1997 05:15:14 +0000 (05:15 +0000)]
lfs dies

27 years agodisable the datacache on Apollo cards for this release it would seem.
michaels [Tue, 29 Apr 1997 00:46:27 +0000 (00:46 +0000)]
disable the datacache on Apollo cards for this release it would seem.

27 years agook.
mickey [Tue, 29 Apr 1997 00:16:13 +0000 (00:16 +0000)]
ok.

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.