openbsd
24 years agoAdd #ifdef __STDC__ around the rangematch function header to avoid
millert [Thu, 23 Mar 2000 19:13:51 +0000 (19:13 +0000)]
Add #ifdef __STDC__ around the rangematch function header to avoid
promotion of test to int, thus violating the prototype.  Gcc handles
this gracefully but more std ANSI compilers will complain.

24 years agoIiieeek! This kludge was almost funny.
art [Thu, 23 Mar 2000 17:20:23 +0000 (17:20 +0000)]
Iiieeek! This kludge was almost funny.

Probably something from the stone age. Kill it.

24 years agoDo not include <sys/callout.h>, it is never needed; art@
aaron [Thu, 23 Mar 2000 17:17:32 +0000 (17:17 +0000)]
Do not include <sys/callout.h>, it is never needed; art@

24 years ago<sys/callout.h> is no longer.
aaron [Thu, 23 Mar 2000 17:09:48 +0000 (17:09 +0000)]
<sys/callout.h> is no longer.

24 years agonot changes in script
ericj [Thu, 23 Mar 2000 17:01:35 +0000 (17:01 +0000)]
not changes in script

24 years agoDon't reinitialize the tsleep and ITIMER_REAL timers all the time.
art [Thu, 23 Mar 2000 16:54:43 +0000 (16:54 +0000)]
Don't reinitialize the tsleep and ITIMER_REAL timers all the time.
The function and the argument never change.

24 years agoAnother typo. Noted by aaron.
art [Thu, 23 Mar 2000 16:52:26 +0000 (16:52 +0000)]
Another typo. Noted by aaron.

24 years agoNew timeout code.
art [Thu, 23 Mar 2000 16:37:52 +0000 (16:37 +0000)]
New timeout code.

24 years agoRemove code from the stone age.
art [Thu, 23 Mar 2000 16:36:36 +0000 (16:36 +0000)]
Remove code from the stone age.

24 years agoNo need for our own declaration of lbolt.
art [Thu, 23 Mar 2000 15:57:33 +0000 (15:57 +0000)]
No need for our own declaration of lbolt.

24 years agoUse the new timeout facilities for ITIMER_REAL.
art [Thu, 23 Mar 2000 15:55:52 +0000 (15:55 +0000)]
Use the new timeout facilities for ITIMER_REAL.

24 years agoOpps. Fix a comment from "should" to "should not".
art [Thu, 23 Mar 2000 15:47:50 +0000 (15:47 +0000)]
Opps. Fix a comment from "should" to "should not".
Thanks to mickey@ for pointing this out.

24 years agoChange prompt string from "Location:" to "Office Location:", to disambiguate
aaron [Thu, 23 Mar 2000 15:23:51 +0000 (15:23 +0000)]
Change prompt string from "Location:" to "Office Location:", to disambiguate
from what is expected, and to be consistent with finger(1); from FreeBSD. This
file was missed from a previous commit. :-(

24 years agoProtect from multiple include.
art [Thu, 23 Mar 2000 14:59:23 +0000 (14:59 +0000)]
Protect from multiple include.

24 years agouse the new timeout interface for tsleep.
art [Thu, 23 Mar 2000 14:44:37 +0000 (14:44 +0000)]
use the new timeout interface for tsleep.

24 years agoChanges to use the new timeout interface.
art [Thu, 23 Mar 2000 14:43:47 +0000 (14:43 +0000)]
Changes to use the new timeout interface.
For tsleep we add a field "p_sleep_to", for ITIMER_REAL we add "p_realit_to".
I also sneak in a change for niklas for linux compat, so that we can
handle all questions about broken "ps", etc. at the same time.

24 years agoUpdates from ncurses terminfo file:
millert [Thu, 23 Mar 2000 14:29:35 +0000 (14:29 +0000)]
Updates from ncurses terminfo file:
+ correct typo in rxvt-basic terminfo from temporary change made while
integrating 20000318.
+ revert part of the vt220 change (request by Todd C Miller).
+ add ansi-* terminfo entries from Eric's version.

24 years agoconvert to new timeouts.
art [Thu, 23 Mar 2000 11:26:28 +0000 (11:26 +0000)]
convert to new timeouts.

24 years agoSupport std-dev gathering and fine interval like our regular ping.
hugh [Thu, 23 Mar 2000 11:26:17 +0000 (11:26 +0000)]
Support std-dev gathering and fine interval like our regular ping.

24 years agoSpeling.
art [Thu, 23 Mar 2000 11:24:42 +0000 (11:24 +0000)]
Speling.

24 years agoUpdate a comment to reflect reality.
art [Thu, 23 Mar 2000 11:20:45 +0000 (11:20 +0000)]
Update a comment to reflect reality.

24 years agoDocument timeout_pending and timeout_initialized.
art [Thu, 23 Mar 2000 11:15:21 +0000 (11:15 +0000)]
Document timeout_pending and timeout_initialized.

24 years agoProvide methods to check if a timeout was initalized and if it is scheduled.
art [Thu, 23 Mar 2000 11:07:33 +0000 (11:07 +0000)]
Provide methods to check if a timeout was initalized and if it is scheduled.

24 years agoUse new timeouts for pfslowtimo and pffasttimo.
art [Thu, 23 Mar 2000 10:42:29 +0000 (10:42 +0000)]
Use new timeouts for pfslowtimo and pffasttimo.

24 years agoPreserve the FIFO order of issued timeouts.
art [Thu, 23 Mar 2000 10:27:05 +0000 (10:27 +0000)]
Preserve the FIFO order of issued timeouts.

24 years agoAdapt roundrobin and schedcpu to the new timeout API.
art [Thu, 23 Mar 2000 10:13:58 +0000 (10:13 +0000)]
Adapt roundrobin and schedcpu to the new timeout API.

24 years agoInstall links for the new timeout API.
art [Thu, 23 Mar 2000 10:11:52 +0000 (10:11 +0000)]
Install links for the new timeout API.

24 years agoDocument the new timeout API.
art [Thu, 23 Mar 2000 10:10:20 +0000 (10:10 +0000)]
Document the new timeout API.

24 years agoNew API for timeouts. Replaces the old timeout()/untimeout() API and
art [Thu, 23 Mar 2000 09:59:52 +0000 (09:59 +0000)]
New API for timeouts. Replaces the old timeout()/untimeout() API and
makes it the callers responsibility to allocate resources for the
timeouts.

This is a KISS implementation and does _not_ solve the problems of slow
handling of a large number of pending timeouts (this will be solved in
future work) (although hardclock is now guarateed to take constant time
for handling of timeouts).

Old timeout() and untimeout() are implemented as wrappers around the new
API and kept for compatibility. They will be removed as soon as all
subsystems are converted to use the new API.

24 years agotidy
hugh [Thu, 23 Mar 2000 09:08:13 +0000 (09:08 +0000)]
tidy

24 years agotest re-entrant getpwnam_r
d [Thu, 23 Mar 2000 05:18:33 +0000 (05:18 +0000)]
test re-entrant getpwnam_r

24 years agoIf failure occurs on clock reading routine, make certain that the time
rahnds [Thu, 23 Mar 2000 04:12:48 +0000 (04:12 +0000)]
If failure occurs on clock reading routine, make certain that the time
translation failes.

24 years agoadd mii and if_gm ethernet.
rahnds [Thu, 23 Mar 2000 04:08:12 +0000 (04:08 +0000)]
add mii and if_gm ethernet.

24 years agoNetBSD gm ethernet driver ported from NetBSD. compiles, but does not yet
rahnds [Thu, 23 Mar 2000 04:06:56 +0000 (04:06 +0000)]
NetBSD gm ethernet driver ported from NetBSD. compiles, but does not yet
configure. mii code is very suspect. Additional debugging will be done
after configuration issues are addressed.

24 years agoHack to make physmem something almost reasonable, if for some reason
rahnds [Thu, 23 Mar 2000 04:04:21 +0000 (04:04 +0000)]
Hack to make physmem something almost reasonable, if for some reason
the G4 decides to claim that no real memory exists in the machine, even
though memory is available. Real memory size is aliased to available.
Take this out if a real cause is determined.

24 years agocomment out bounds check, ncr card on G4 is triggering it, replaced
rahnds [Thu, 23 Mar 2000 04:01:55 +0000 (04:01 +0000)]
comment out bounds check, ncr card on G4 is triggering it, replaced
with a debug printf.

24 years agocomment out memory region debugging.
rahnds [Thu, 23 Mar 2000 03:52:55 +0000 (03:52 +0000)]
comment out memory region debugging.
make certain that physmem is initialized.
improve readablity of code.

24 years agoDon't use the BIOS geometry by default, it causes too many problems.
millert [Thu, 23 Mar 2000 01:24:28 +0000 (01:24 +0000)]
Don't use the BIOS geometry by default, it causes too many problems.

24 years agoOpenBSD'ify this man page somewhat:
aaron [Wed, 22 Mar 2000 21:46:17 +0000 (21:46 +0000)]
OpenBSD'ify this man page somewhat:
- get rid of the HARDWARE section and move supported cards list up
- more verbose HISTORY/AUTHORS
- remove trailing whitespace, remove hard sentence breaks, other nits

24 years agosome more machine_stack_grows_up
mickey [Wed, 22 Mar 2000 21:35:37 +0000 (21:35 +0000)]
some more machine_stack_grows_up

24 years agoBetter list format; missed from a previous commit.
aaron [Wed, 22 Mar 2000 21:34:55 +0000 (21:34 +0000)]
Better list format; missed from a previous commit.

24 years agoPut BUGS section after HISTORY.
aaron [Wed, 22 Mar 2000 21:22:26 +0000 (21:22 +0000)]
Put BUGS section after HISTORY.

24 years agoMake script give correct return values; adapted from FreeBSD
ericj [Wed, 22 Mar 2000 20:25:19 +0000 (20:25 +0000)]
Make script give correct return values; adapted from FreeBSD

24 years agoray(4); chopps@netbsd.org
mickey [Wed, 22 Mar 2000 20:01:59 +0000 (20:01 +0000)]
ray(4); chopps@netbsd.org

24 years agocommented out ray*
mickey [Wed, 22 Mar 2000 18:35:50 +0000 (18:35 +0000)]
commented out ray*

24 years agosync
deraadt [Wed, 22 Mar 2000 18:15:36 +0000 (18:15 +0000)]
sync

24 years agosingle line attach message
deraadt [Wed, 22 Mar 2000 18:15:20 +0000 (18:15 +0000)]
single line attach message

24 years agomake UVM_SWAP_ENCRYPT default, still need to enable via sysctl
provos [Wed, 22 Mar 2000 18:08:12 +0000 (18:08 +0000)]
make UVM_SWAP_ENCRYPT default, still need to enable via sysctl

24 years agoAvoid the chdir entirely by prefixing _PATH_DEV to the tty name when
millert [Wed, 22 Mar 2000 17:07:37 +0000 (17:07 +0000)]
Avoid the chdir entirely by prefixing _PATH_DEV to the tty name when
doing a stat.  This makes the -T and -u flags work in confunction with
a file argument.

24 years agoremove bogus comment
itojun [Wed, 22 Mar 2000 16:50:24 +0000 (16:50 +0000)]
remove bogus comment

24 years agoeissed another renamning of result_status -> result_flags
jason [Wed, 22 Mar 2000 15:49:51 +0000 (15:49 +0000)]
eissed another renamning of result_status -> result_flags

24 years agofix overflows, ok aaron@
markus [Wed, 22 Mar 2000 15:38:23 +0000 (15:38 +0000)]
fix overflows, ok aaron@

24 years agosync pmax. -moj
maja [Wed, 22 Mar 2000 13:15:27 +0000 (13:15 +0000)]
sync pmax. -moj

24 years agoremove if_withname(), which was imported during KAME merge by mistake.
itojun [Wed, 22 Mar 2000 11:28:42 +0000 (11:28 +0000)]
remove if_withname(), which was imported during KAME merge by mistake.

24 years agoremove unused cipher_attack_detected code
markus [Wed, 22 Mar 2000 09:55:10 +0000 (09:55 +0000)]
remove unused cipher_attack_detected code

24 years agoAdd ch to some dead ports for consistency, of course not tested.
niklas [Wed, 22 Mar 2000 08:34:16 +0000 (08:34 +0000)]
Add ch to some dead ports for consistency, of course not tested.

24 years agoxe does not fit, with new ahc included
deraadt [Wed, 22 Mar 2000 08:28:18 +0000 (08:28 +0000)]
xe does not fit, with new ahc included

24 years agowe do not even have the x68k port, why have etc files for it then?
niklas [Wed, 22 Mar 2000 08:27:37 +0000 (08:27 +0000)]
we do not even have the x68k port, why have etc files for it then?

24 years agocorrect references.
itojun [Wed, 22 Mar 2000 08:15:41 +0000 (08:15 +0000)]
correct references.

24 years agocorrect example for IPv6 scoped address. refer latest draft.
itojun [Wed, 22 Mar 2000 08:15:02 +0000 (08:15 +0000)]
correct example for IPv6 scoped address.  refer latest draft.

24 years agoch* creation on platforms which had them in conf.c but missed them in MAKEDEV
niklas [Wed, 22 Mar 2000 08:08:52 +0000 (08:08 +0000)]
ch* creation on platforms which had them in conf.c but missed them in MAKEDEV

24 years agooperator should have perms to write and change tapes. ch* is still missing
niklas [Wed, 22 Mar 2000 07:34:27 +0000 (07:34 +0000)]
operator should have perms to write and change tapes.  ch* is still missing
in some MAKEDEVs, will see to them in a separate commit.

24 years agofix arguments to failure printf's (correct numbers and types)
jason [Wed, 22 Mar 2000 05:30:47 +0000 (05:30 +0000)]
fix arguments to failure printf's (correct numbers and types)

24 years agoOops... catch up with variable renaming in header file
jason [Wed, 22 Mar 2000 04:47:01 +0000 (04:47 +0000)]
Oops... catch up with variable renaming in header file

24 years agoraytheon/webgear ieee 802.11 FH wireless ethernet, from Christian E. Hopps, from...
mickey [Wed, 22 Mar 2000 04:40:57 +0000 (04:40 +0000)]
raytheon/webgear ieee 802.11 FH wireless ethernet, from Christian E. Hopps, from netbsd

24 years ago802.11 stuff beginnings, from netbsd
mickey [Wed, 22 Mar 2000 04:37:13 +0000 (04:37 +0000)]
802.11 stuff beginnings, from netbsd

24 years agoallow opening of the fga char device
jason [Wed, 22 Mar 2000 04:33:44 +0000 (04:33 +0000)]
allow opening of the fga char device

24 years agoAdd some text about CA certificates and policies (suggested by Paul
angelos [Wed, 22 Mar 2000 04:06:17 +0000 (04:06 +0000)]
Add some text about CA certificates and policies (suggested by Paul
Hoffman).

24 years agonew ahc driver. Adds support for newer Adaptec controllers. This represents two...
smurph [Wed, 22 Mar 2000 04:01:07 +0000 (04:01 +0000)]
new ahc driver.  Adds support for newer Adaptec controllers.  This represents two months of work.

24 years agoconvert some spaces to tabs and make variable names the same as the
jason [Wed, 22 Mar 2000 03:57:57 +0000 (03:57 +0000)]
convert some spaces to tabs and make variable names the same as the
surrounding comments

24 years agoaintroduce ip6_{next,last}hdr which lets us parse IPv6 header chain correctly.
itojun [Wed, 22 Mar 2000 03:50:35 +0000 (03:50 +0000)]
aintroduce ip6_{next,last}hdr which lets us parse IPv6 header chain correctly.
use it from icmp6 code.

24 years agocomment out ifconfig undo code. they are necessary to avoid memory
itojun [Wed, 22 Mar 2000 03:48:30 +0000 (03:48 +0000)]
comment out ifconfig undo code.  they are necessary to avoid memory
leakage, however, was too strict that they disallow multiple address
from same prefix to be assigned (when rtinit returns EEXIST).
we'll need to improve it.

24 years agoCorrect Xr'efs; brad@
aaron [Wed, 22 Mar 2000 03:48:18 +0000 (03:48 +0000)]
Correct Xr'efs; brad@

24 years agosync
deraadt [Wed, 22 Mar 2000 03:42:16 +0000 (03:42 +0000)]
sync

24 years agoadd new adaptec models
deraadt [Wed, 22 Mar 2000 03:42:13 +0000 (03:42 +0000)]
add new adaptec models

24 years agoremoved reference to tagged queuing.
smurph [Wed, 22 Mar 2000 03:17:04 +0000 (03:17 +0000)]
removed reference to tagged queuing.

24 years agoSome fixes; d@
aaron [Wed, 22 Mar 2000 03:05:51 +0000 (03:05 +0000)]
Some fixes; d@

24 years agonew ahc driver. Adds support for newer Adaptec controllers. This represents two...
smurph [Wed, 22 Mar 2000 02:50:49 +0000 (02:50 +0000)]
new ahc driver.  Adds support for newer Adaptec controllers.  This represents two months of work.

24 years agonew ahc driver. Adds suport for newer Adaptec controllers. This represents two...
smurph [Wed, 22 Mar 2000 02:48:47 +0000 (02:48 +0000)]
new ahc driver.  Adds suport for newer Adaptec controllers.  This represents two months of work.

24 years agoNote that ``chfn'' and ``chsh'' are synonyms for ``chpass'', and reflect this
aaron [Wed, 22 Mar 2000 02:42:34 +0000 (02:42 +0000)]
Note that ``chfn'' and ``chsh'' are synonyms for ``chpass'', and reflect this
in the NAME section as well; d@, deraadt@ ok

24 years agoMACHINE_STACK_GROWS_UP
d [Wed, 22 Mar 2000 02:06:05 +0000 (02:06 +0000)]
MACHINE_STACK_GROWS_UP

24 years agoqueuing -> queueing; chuck@home.snew.com
millert [Wed, 22 Mar 2000 01:57:55 +0000 (01:57 +0000)]
queuing -> queueing; chuck@home.snew.com

24 years agofix k6 mtrr; cokane@pohl.ececs.uc.edu
deraadt [Wed, 22 Mar 2000 00:02:12 +0000 (00:02 +0000)]
fix k6 mtrr; cokane@pohl.ececs.uc.edu

24 years agoadd SIOCGIFMTU/SIOCSIFMTU; remediate redundant code of tun, ppp, sppp; chris@ ok
mickey [Tue, 21 Mar 2000 23:31:26 +0000 (23:31 +0000)]
add SIOCGIFMTU/SIOCSIFMTU; remediate redundant code of tun, ppp, sppp; chris@ ok

24 years agosmall knits in .c, more media definitions from netbsd in .h
mickey [Tue, 21 Mar 2000 23:18:13 +0000 (23:18 +0000)]
small knits in .c, more media definitions from netbsd in .h

24 years ago-Wall
markus [Tue, 21 Mar 2000 23:11:10 +0000 (23:11 +0000)]
-Wall

24 years agosync
deraadt [Tue, 21 Mar 2000 22:04:23 +0000 (22:04 +0000)]
sync

24 years ago3com 3cr990 crypto ethernet card
deraadt [Tue, 21 Mar 2000 22:01:06 +0000 (22:01 +0000)]
3com 3cr990 crypto ethernet card

24 years agoshorten 2nd ID message
deraadt [Tue, 21 Mar 2000 21:59:18 +0000 (21:59 +0000)]
shorten 2nd ID message

24 years agoadd missing break; found by Matt Patton <mep@netsec.net>.
jason [Tue, 21 Mar 2000 21:58:04 +0000 (21:58 +0000)]
add missing break; found by Matt Patton <mep@netsec.net>.

24 years agoonly chdir() if needed. This affected having who reading different file
ericj [Tue, 21 Mar 2000 21:54:51 +0000 (21:54 +0000)]
only chdir() if needed. This affected having who reading different file

24 years agoFix casting so it compiles on alphas (testing by janjaap@stack.nl,
angelos [Tue, 21 Mar 2000 21:00:09 +0000 (21:00 +0000)]
Fix casting so it compiles on alphas (testing by janjaap@stack.nl,
closing pr #1150)

24 years agomore random stats
mickey [Tue, 21 Mar 2000 20:46:30 +0000 (20:46 +0000)]
more random stats

24 years agoonly free in swap_off if allocated.
provos [Tue, 21 Mar 2000 17:51:00 +0000 (17:51 +0000)]
only free in swap_off if allocated.

24 years agodouble ncallout, until art fixes this further
deraadt [Tue, 21 Mar 2000 14:55:52 +0000 (14:55 +0000)]
double ncallout, until art fixes this further

24 years agoAdd HISTORY sections; from FreeBSD. Information originally obtained from
aaron [Tue, 21 Mar 2000 14:40:13 +0000 (14:40 +0000)]
Add HISTORY sections; from FreeBSD. Information originally obtained from
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".

24 years agoThe BUGS section comes after HISTORY, usually.
aaron [Tue, 21 Mar 2000 14:19:46 +0000 (14:19 +0000)]
The BUGS section comes after HISTORY, usually.

24 years agoUse proper KNF in code example; d@
aaron [Tue, 21 Mar 2000 14:08:35 +0000 (14:08 +0000)]
Use proper KNF in code example; d@

24 years agoSometimes it is confusing when a sentence begins with lowercase; d@
aaron [Tue, 21 Mar 2000 14:06:54 +0000 (14:06 +0000)]
Sometimes it is confusing when a sentence begins with lowercase; d@

24 years agoFix function to comply with prototype. Kind of moot, as tcp signatures
angelos [Tue, 21 Mar 2000 04:53:13 +0000 (04:53 +0000)]
Fix function to comply with prototype. Kind of moot, as tcp signatures
don't work yet anyhow, so there's no point compiling them in.