openbsd
24 years ago5k of source saved in spaces and empty lines; also rcsid
mickey [Mon, 24 Apr 2000 19:44:01 +0000 (19:44 +0000)]
5k of source saved in spaces and empty lines; also rcsid

24 years agoDo not unmap CCR before using them for the last time
niklas [Mon, 24 Apr 2000 19:43:35 +0000 (19:43 +0000)]
Do not unmap CCR before using them for the last time

24 years agowait just a bit for enabling to settle, fixes pccom on an xe
niklas [Mon, 24 Apr 2000 19:06:00 +0000 (19:06 +0000)]
wait just a bit for enabling to settle, fixes pccom on an xe
when using the faster cardbus mode of the PCI1131 chip

24 years ago3 bugs: off by one in dump offset calculation,
niklas [Mon, 24 Apr 2000 18:56:56 +0000 (18:56 +0000)]
3 bugs: off by one in dump offset calculation,
 when to print what is left, and what to print.  Fixes PR#1182

24 years agoMake dlopened modules prefer symbols defined locally
niklas [Mon, 24 Apr 2000 17:56:34 +0000 (17:56 +0000)]
Make dlopened modules prefer symbols defined locally

24 years agofix some types
mickey [Mon, 24 Apr 2000 17:39:54 +0000 (17:39 +0000)]
fix some types

24 years agocorrect example
deraadt [Mon, 24 Apr 2000 16:55:44 +0000 (16:55 +0000)]
correct example

24 years agoTreat the beginning of the current dmesg output as starting at
millert [Mon, 24 Apr 2000 16:33:44 +0000 (16:33 +0000)]
Treat the beginning of the current dmesg output as starting at
/^OpenBSD /, not /^Copyright / (the latter doesn't show up in dmesg).

24 years ago3C1 and 3CCFEM556BI (this one uses boomerang chipset, so no support yet);
fgsch [Mon, 24 Apr 2000 15:27:02 +0000 (15:27 +0000)]
3C1 and 3CCFEM556BI (this one uses boomerang chipset, so no support yet);
from NetBSD.

24 years agosync
fgsch [Mon, 24 Apr 2000 15:21:46 +0000 (15:21 +0000)]
sync

24 years agonew prods; rearrange.
fgsch [Mon, 24 Apr 2000 15:20:26 +0000 (15:20 +0000)]
new prods; rearrange.

24 years agos/int/u_int/ pass iint page0 and generic io module, fixes a few obscure problems
mickey [Mon, 24 Apr 2000 14:24:48 +0000 (14:24 +0000)]
s/int/u_int/ pass iint page0 and generic io module, fixes a few obscure problems

24 years agoremove backward compatibilty clause, it did not make sense (tun(4) has no
itojun [Mon, 24 Apr 2000 13:26:49 +0000 (13:26 +0000)]
remove backward compatibilty clause, it did not make sense (tun(4) has no
relationship at all)

24 years agofix macros that calculated bitmap size for fdalloc. fries@ helped debugging.
provos [Mon, 24 Apr 2000 06:26:23 +0000 (06:26 +0000)]
fix macros that calculated bitmap size for fdalloc. fries@ helped debugging.

24 years agoproper include files; ath@algonet.se
deraadt [Mon, 24 Apr 2000 05:19:01 +0000 (05:19 +0000)]
proper include files; ath@algonet.se

24 years agoproperly label whole disk partition; op21@squish.org
deraadt [Mon, 24 Apr 2000 05:12:19 +0000 (05:12 +0000)]
properly label whole disk partition; op21@squish.org

24 years agouse pmap_extract() instead of vtophys(); art
deraadt [Mon, 24 Apr 2000 04:54:19 +0000 (04:54 +0000)]
use pmap_extract() instead of vtophys(); art

24 years agosupport DOSPTYP_EXTENDL like DOSPTYP_EXTEND; scott@nts.umn.edu
deraadt [Mon, 24 Apr 2000 04:53:00 +0000 (04:53 +0000)]
support DOSPTYP_EXTENDL like DOSPTYP_EXTEND; scott@nts.umn.edu

24 years agoadd descriptions for ipv6, dhcpd, and others to bring this uptodate
todd [Mon, 24 Apr 2000 04:34:31 +0000 (04:34 +0000)]
add descriptions for ipv6, dhcpd, and others to bring this uptodate

24 years agofix per pr1192; also == "xx" -> ~ /xx/, same thought
todd [Mon, 24 Apr 2000 04:23:13 +0000 (04:23 +0000)]
fix per pr1192; also == "xx" -> ~ /xx/, same thought

24 years agoAdd xstrdup() - like strdup but get fatal error if memory is exhausted.
form [Mon, 24 Apr 2000 03:33:27 +0000 (03:33 +0000)]
Add xstrdup() - like strdup but get fatal error if memory is exhausted.
Avoid duplicates in search path.
ok espie@

24 years agosupport RFC2732 IPv6 address literal URLs (http://[::1]:80/index.html).
itojun [Mon, 24 Apr 2000 03:30:16 +0000 (03:30 +0000)]
support RFC2732 IPv6 address literal URLs ([::1]:80/index.html).

24 years ago/etc/rc.conf.local, the default local_rcconf defined in /etc/rc.conf
pjanzen [Mon, 24 Apr 2000 02:54:27 +0000 (02:54 +0000)]
/etc/rc.conf.local, the default local_rcconf defined in /etc/rc.conf

24 years agoBetter fix for all the dash shenanigans; rra@stanford.edu
millert [Mon, 24 Apr 2000 02:33:20 +0000 (02:33 +0000)]
Better fix for all the dash shenanigans; rra@stanford.edu
Updates Man.pm to version 1.04.

24 years agoFix in scalar vs. list dereference bug in InputObjects.pm. Keep
millert [Mon, 24 Apr 2000 01:20:36 +0000 (01:20 +0000)]
Fix in scalar vs. list dereference bug in InputObjects.pm.  Keep
dashes in C<> blocks from getting \e prepended to them.  They should
have a \ prepended to escape them which this does correctly do yet,
but at least it produces legible documentation; rra@stanford.edu

24 years agoWith perl 5.6.0, GetOpt::Std is functional, use it.
espie [Sun, 23 Apr 2000 22:14:27 +0000 (22:14 +0000)]
With perl 5.6.0, GetOpt::Std is functional, use it.
Add -p (prick) and -t (test) option.
reword error handling as follows:
makewhatis tries harder to find section and/or subject lines in man pages,
even when the formatting is slightly incorrect.
-p mode diagnoses problems.
-t can be used to quickly test a new man page.
Approved by millert@.  aaron@ would like `The options are as follows...'
style, but:
- I don't think this would be as clear,
- he hasn't come up with actual replacement text yet...

At least this is accurate documentation.

24 years agoSome fixups.
aaron [Sun, 23 Apr 2000 21:42:40 +0000 (21:42 +0000)]
Some fixups.

24 years agoSave ethernet address in arpcom.ac_enaddr. -moj
maja [Sun, 23 Apr 2000 17:33:47 +0000 (17:33 +0000)]
Save ethernet address in arpcom.ac_enaddr. -moj

24 years agoFix thinko, check eqp for NULL, not ap; ath@algonet.se
millert [Sun, 23 Apr 2000 16:32:07 +0000 (16:32 +0000)]
Fix thinko, check eqp for NULL, not ap; ath@algonet.se

24 years agoCorrect bitmask.
angelos [Sun, 23 Apr 2000 05:04:13 +0000 (05:04 +0000)]
Correct bitmask.

24 years agofreesession takes u_int64_t
angelos [Sun, 23 Apr 2000 05:03:40 +0000 (05:03 +0000)]
freesession takes u_int64_t

24 years agoChange the type of freesession to take u_int64_t as argument.
angelos [Sun, 23 Apr 2000 05:01:53 +0000 (05:01 +0000)]
Change the type of freesession to take u_int64_t as argument.

24 years agoSendmail didn't buy back the arc4random() changes so just use
millert [Sat, 22 Apr 2000 21:07:03 +0000 (21:07 +0000)]
Sendmail didn't buy back the arc4random() changes so just use
srandomdev() which seeds itself from arc4random().  Sendmail doesn't
really need crypto-strength random numbers.

24 years agoDon't be wasteful of entropy when generating keys.
kjell [Sat, 22 Apr 2000 20:48:46 +0000 (20:48 +0000)]
Don't be wasteful of entropy when generating keys.

24 years agoalways syncing
deraadt [Sat, 22 Apr 2000 17:35:37 +0000 (17:35 +0000)]
always syncing

24 years agoanother misnumbering
deraadt [Sat, 22 Apr 2000 07:42:03 +0000 (07:42 +0000)]
another misnumbering

24 years agomisnumbered web pages; patch sent to beck
deraadt [Sat, 22 Apr 2000 07:40:33 +0000 (07:40 +0000)]
misnumbered web pages; patch sent to beck

24 years agoRemove extra space from usage.
angelos [Sat, 22 Apr 2000 02:43:15 +0000 (02:43 +0000)]
Remove extra space from usage.

24 years agoSlight clarification in usage.
angelos [Sat, 22 Apr 2000 02:40:01 +0000 (02:40 +0000)]
Slight clarification in usage.

24 years agoChange the example to use -keyfile/-authkeyfile, add a sentence on why
angelos [Sat, 22 Apr 2000 02:04:23 +0000 (02:04 +0000)]
Change the example to use -keyfile/-authkeyfile, add a sentence on why
-key/-authkey are somewhat risky (command line snooping).

24 years agoUse -keyfile/-authkeyfile flags.
angelos [Sat, 22 Apr 2000 01:57:17 +0000 (01:57 +0000)]
Use -keyfile/-authkeyfile flags.

24 years ago-keyfile/-authkeyfile flags, for reading keys from a file.
angelos [Sat, 22 Apr 2000 01:53:41 +0000 (01:53 +0000)]
-keyfile/-authkeyfile flags, for reading keys from a file.

24 years agoDocument -authkeyfile/-keyfile
angelos [Sat, 22 Apr 2000 01:50:15 +0000 (01:50 +0000)]
Document -authkeyfile/-keyfile

24 years agoA bit more on netstat
angelos [Sat, 22 Apr 2000 01:07:01 +0000 (01:07 +0000)]
A bit more on netstat

24 years agoDocument vmstat and netstat relevance to ipsec, add pointer to
angelos [Sat, 22 Apr 2000 01:05:29 +0000 (01:05 +0000)]
Document vmstat and netstat relevance to ipsec, add pointer to
net.inet.ip.ipsec-acl.

24 years agooops
mickey [Fri, 21 Apr 2000 22:48:52 +0000 (22:48 +0000)]
oops

24 years agoUse fgetln(3) instead of fgets(3) when reading in the message. This
millert [Fri, 21 Apr 2000 21:50:00 +0000 (21:50 +0000)]
Use fgetln(3) instead of fgets(3) when reading in the message.  This
way the From line escaping gets done correctly even for really long
lines.

24 years agodo not make stupid promises for the next release, three releases ago
deraadt [Fri, 21 Apr 2000 21:37:49 +0000 (21:37 +0000)]
do not make stupid promises for the next release, three releases ago

24 years agorc.conf.local support, inspired by chuck yerkes
deraadt [Fri, 21 Apr 2000 21:27:32 +0000 (21:27 +0000)]
rc.conf.local support, inspired by chuck yerkes

24 years agoa little bit of glue to call openssl; mark@moxienet.com
deraadt [Fri, 21 Apr 2000 18:53:15 +0000 (18:53 +0000)]
a little bit of glue to call openssl; mark@moxienet.com

24 years agoadd CPAN File::Temp module for perl versions of mkstemp et al.
millert [Fri, 21 Apr 2000 17:59:53 +0000 (17:59 +0000)]
add CPAN File::Temp module for perl versions of mkstemp et al.

24 years agomore readable
deraadt [Fri, 21 Apr 2000 17:33:41 +0000 (17:33 +0000)]
more readable

24 years agofix some usage glitches
deraadt [Fri, 21 Apr 2000 17:32:24 +0000 (17:32 +0000)]
fix some usage glitches

24 years agoRemove the races so that this is safe to run anytime. We open
millert [Fri, 21 Apr 2000 17:06:13 +0000 (17:06 +0000)]
Remove the races so that this is safe to run anytime.  We open
/var/tmp/vi.recover to get an fd and user O_NOFOLLOW to following a symlink.
Once we have a file handle we can use it to safely chdir to the right
place and form then on do operations relative to ".".  Also restrict
to root.

24 years agosee if there is any meaning under curproc before using &proc0 in vfs_syncwait();...
mickey [Fri, 21 Apr 2000 16:33:12 +0000 (16:33 +0000)]
see if there is any meaning under curproc before using &proc0 in vfs_syncwait(); from art@

24 years agoshovel apm into it's own thread.
mickey [Fri, 21 Apr 2000 16:29:58 +0000 (16:29 +0000)]
shovel apm into it's own thread.
apply art's idea to sleep on &lbolt, it seem fine w/ it.

24 years agoO_FYNC -> O_SYNC
millert [Fri, 21 Apr 2000 15:50:20 +0000 (15:50 +0000)]
O_FYNC -> O_SYNC

24 years agoChange kernel-only open flag FNOSYMLINK to userland-visible O_NOFOLLOW;
millert [Fri, 21 Apr 2000 15:47:27 +0000 (15:47 +0000)]
Change kernel-only open flag FNOSYMLINK to userland-visible O_NOFOLLOW;
adapated from FreeBSD.  Also change O_FSYNC to the more standard O_SYNC
and document it.  open(2) needs some real examples for proper usage,
to come later.

24 years agoDon't hyphenate the words {left|right}most.
aaron [Fri, 21 Apr 2000 15:38:17 +0000 (15:38 +0000)]
Don't hyphenate the words {left|right}most.

24 years agoAdd ERRORS section (the strdup(3) function may fail and set errno to any of the
aaron [Fri, 21 Apr 2000 15:32:15 +0000 (15:32 +0000)]
Add ERRORS section (the strdup(3) function may fail and set errno to any of the
errors specified by the library routine malloc(3)).

24 years agoCheck return value of strdup(3) for NULL in example code (duh).
aaron [Fri, 21 Apr 2000 15:27:40 +0000 (15:27 +0000)]
Check return value of strdup(3) for NULL in example code (duh).

24 years agoFlesh out libc string function man pages.
aaron [Fri, 21 Apr 2000 15:24:18 +0000 (15:24 +0000)]
Flesh out libc string function man pages.

24 years agoNRL pcb issue; inp_{f,l}addr{,6} is a union so we need to be sure about
itojun [Fri, 21 Apr 2000 11:42:23 +0000 (11:42 +0000)]
NRL pcb issue; inp_{f,l}addr{,6} is a union so we need to be sure about
af match.
- do not touch IPv4 pcb entries on in6_pcbnotify.
- do not touch IPv6 pcb entries on in_pcbnotify.

24 years agoeven more from base to etc; everything else looks right
deraadt [Fri, 21 Apr 2000 07:54:43 +0000 (07:54 +0000)]
even more from base to etc; everything else looks right

24 years agodo not declare and use a local variable which conflicts with a global
deraadt [Fri, 21 Apr 2000 07:39:15 +0000 (07:39 +0000)]
do not declare and use a local variable which conflicts with a global
variable which is used by a macro when VM is used instead of UVM.  very
cute, Art -- 10 points for artistic expression.

24 years agoAdapted from NetBSD: mention the 'al'/'AL' console mode bug and its workaround
pjanzen [Fri, 21 Apr 2000 03:26:36 +0000 (03:26 +0000)]
Adapted from NetBSD:  mention the 'al'/'AL' console mode bug and its workaround

24 years agodocumentation: refer to terminfo, not termcap, where appropriate.
pjanzen [Fri, 21 Apr 2000 03:10:24 +0000 (03:10 +0000)]
documentation:  refer to terminfo, not termcap, where appropriate.

24 years agoFix memory leak per connection. Report from Andy Spiegl <Andy@Spiegl.de>
djm [Fri, 21 Apr 2000 00:27:11 +0000 (00:27 +0000)]
Fix memory leak per connection. Report from Andy Spiegl <Andy@Spiegl.de>
via Debian bug #59926

24 years agoDon't need to explicitly make perl's config.sh, the beforedepend target
millert [Fri, 21 Apr 2000 00:10:40 +0000 (00:10 +0000)]
Don't need to explicitly make perl's config.sh, the beforedepend target
will do that.

24 years agoISO currency and other additions, including smoot, jansky, and score.
pjanzen [Thu, 20 Apr 2000 23:50:53 +0000 (23:50 +0000)]
ISO currency and other additions, including smoot, jansky, and score.

24 years agoNo logarithmic scales.
pjanzen [Thu, 20 Apr 2000 23:49:27 +0000 (23:49 +0000)]
No logarithmic scales.

24 years agoFix function prototype so it compiles again.
aaron [Thu, 20 Apr 2000 21:15:23 +0000 (21:15 +0000)]
Fix function prototype so it compiles again.

24 years agosync
deraadt [Thu, 20 Apr 2000 20:26:58 +0000 (20:26 +0000)]
sync

24 years agoDocument /etc/resolv.conf.tail
angelos [Thu, 20 Apr 2000 17:45:55 +0000 (17:45 +0000)]
Document /etc/resolv.conf.tail

24 years agoChange -b to -f, similar to Solaris.
angelos [Thu, 20 Apr 2000 17:43:46 +0000 (17:43 +0000)]
Change -b to -f, similar to Solaris.

24 years agoChange the flag to -f, similar to Solaris.
angelos [Thu, 20 Apr 2000 17:26:37 +0000 (17:26 +0000)]
Change the flag to -f, similar to Solaris.

24 years agoIf recover dir is not owned by root, chown it. If the mode is not
millert [Thu, 20 Apr 2000 15:24:24 +0000 (15:24 +0000)]
If recover dir is not owned by root, chown it.  If the mode is not
01777, fix that too.  This is safe because the script is run before
user processes start.

24 years agoFix a problem that occurs when the filesystem fills up.
art [Thu, 20 Apr 2000 14:41:57 +0000 (14:41 +0000)]
Fix a problem that occurs when the filesystem fills up.
When the filesystem is able to allocate an indirect block but not the data
block, it incorrectly unwinds the indirect block leaving a dangling pointer
to a free block.
This is said to fix the "freeing free block" panics people were seeing.

From FreeBSD.

24 years agoFlesh out stdlib function man pages.
aaron [Thu, 20 Apr 2000 13:50:01 +0000 (13:50 +0000)]
Flesh out stdlib function man pages.

24 years agoDon't include machine/pmap.h, vm/pmap.h does that for us.
art [Thu, 20 Apr 2000 13:05:30 +0000 (13:05 +0000)]
Don't include machine/pmap.h, vm/pmap.h does that for us.

24 years agouse scoped address notation (fe80::1%de0) for IPv6 linklocal unicast/multicast.
itojun [Thu, 20 Apr 2000 12:26:35 +0000 (12:26 +0000)]
use scoped address notation (fe80::1%de0) for IPv6 linklocal unicast/multicast.

24 years agoAdd a function "ktrsettracevnode", that changes the ktrace vnode for a process
art [Thu, 20 Apr 2000 10:03:41 +0000 (10:03 +0000)]
Add a function "ktrsettracevnode", that changes the ktrace vnode for a process
in a correct way. Use it in all places where the vnode was changed.
(most of the earlier code was incorrect and had races).

24 years agoAdd /etc/resolv.conf.tail
angelos [Thu, 20 Apr 2000 08:14:40 +0000 (08:14 +0000)]
Add /etc/resolv.conf.tail

24 years agoIf /etc/resolv.conf.tail exists, append to newly-constructed
angelos [Thu, 20 Apr 2000 08:14:21 +0000 (08:14 +0000)]
If /etc/resolv.conf.tail exists, append to newly-constructed
/etc/resolv.conf

24 years agoYet more typos...I should quit while I'm ahead.
angelos [Thu, 20 Apr 2000 07:57:41 +0000 (07:57 +0000)]
Yet more typos...I should quit while I'm ahead.

24 years agoAlso forgot to update usage()
angelos [Thu, 20 Apr 2000 07:52:18 +0000 (07:52 +0000)]
Also forgot to update usage()

24 years agoForgot trailing newline in message.
angelos [Thu, 20 Apr 2000 07:50:54 +0000 (07:50 +0000)]
Forgot trailing newline in message.

24 years agoSame as the traceroute commit just now; add an option for skipping
angelos [Thu, 20 Apr 2000 07:49:47 +0000 (07:49 +0000)]
Same as the traceroute commit just now; add an option for skipping
nodes at the beginning of the trace.

24 years agoAdd a "minimum ttl" option (starting point). Useful for skipping over
angelos [Thu, 20 Apr 2000 07:47:11 +0000 (07:47 +0000)]
Add a "minimum ttl" option (starting point). Useful for skipping over
local-ISP routers that don't generate ICMP time exceeded.

24 years agobump because of p{read,write}{,v}
deraadt [Thu, 20 Apr 2000 07:08:58 +0000 (07:08 +0000)]
bump because of p{read,write}{,v}

24 years agop{read,write}{,v} man pages
deraadt [Thu, 20 Apr 2000 06:34:36 +0000 (06:34 +0000)]
p{read,write}{,v} man pages

24 years agoprototyping for p{read,write}{,v}
deraadt [Thu, 20 Apr 2000 06:34:17 +0000 (06:34 +0000)]
prototyping for p{read,write}{,v}

24 years agosync
deraadt [Thu, 20 Apr 2000 06:32:47 +0000 (06:32 +0000)]
sync

24 years agosystem call hookup for p{read,write}{,v}
deraadt [Thu, 20 Apr 2000 06:32:23 +0000 (06:32 +0000)]
system call hookup for p{read,write}{,v}

24 years agop{read,write}{,v} from csapuntz, partial NetBSD origin I think
deraadt [Thu, 20 Apr 2000 06:32:00 +0000 (06:32 +0000)]
p{read,write}{,v} from csapuntz, partial NetBSD origin I think

24 years agoavoid naming something pwrite()
deraadt [Thu, 20 Apr 2000 06:19:33 +0000 (06:19 +0000)]
avoid naming something pwrite()

24 years ago- Formatting repairs and standardizations.
aaron [Thu, 20 Apr 2000 02:14:26 +0000 (02:14 +0000)]
- Formatting repairs and standardizations.
- s/MESSAGES/DIAGNOSTICS/, and put message descriptions in a nice list.
- Talk more about how using malloc() in signal handlers is bad.

24 years agoFlesh out all of the stdio man pages.
aaron [Thu, 20 Apr 2000 01:39:31 +0000 (01:39 +0000)]
Flesh out all of the stdio man pages.

24 years agoRemove NetBSD ifdefs here too.
fgsch [Wed, 19 Apr 2000 21:52:38 +0000 (21:52 +0000)]
Remove NetBSD ifdefs here too.

24 years agoRemove NetBSD ifdefs.
fgsch [Wed, 19 Apr 2000 21:40:45 +0000 (21:40 +0000)]
Remove NetBSD ifdefs.