openbsd
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.

24 years ago* use different numbers of transmit buffers depending on the memory
fgsch [Wed, 19 Apr 2000 21:35:10 +0000 (21:35 +0000)]
* use different numbers of transmit buffers depending on the memory
  size (not working yet), useful for 100mbit cards.
* add some diagnostic messages
* compute the xmit buffer length w/o taking crc length in count
* when SIOCSIFFLAGS is issued and none of the above conditions match,
  check for IFF_UP rather than sc_enabled.

24 years agoChange the second sentence a bit so it doesn't seem like you're reading the
aaron [Wed, 19 Apr 2000 19:04:21 +0000 (19:04 +0000)]
Change the second sentence a bit so it doesn't seem like you're reading the
same thing twice; noticed by angelos@, but no beer for him yet. :-)

24 years agocvs missed removing these before
millert [Wed, 19 Apr 2000 16:08:54 +0000 (16:08 +0000)]
cvs missed removing these before

24 years agoRemove roundrobin_attempts.
art [Wed, 19 Apr 2000 12:30:30 +0000 (12:30 +0000)]
Remove roundrobin_attempts.

24 years agoErr, oops. I know I needed to check the spelling before I committed this.
espie [Wed, 19 Apr 2000 11:11:50 +0000 (11:11 +0000)]
Err, oops. I know I needed to check the spelling before I committed this.
Sorry Camiel.

24 years agoUnbreak genio (how could I commit that garbage?).
art [Wed, 19 Apr 2000 10:56:41 +0000 (10:56 +0000)]
Unbreak genio (how could I commit that garbage?).

Let ktrwrite return an error if the write failed so that we won't loop in
genio writing to a full disk (or whatever other error happened).

24 years agoWhen logging genio, check if we need to yield in the same way as in uiomove.
art [Wed, 19 Apr 2000 10:13:22 +0000 (10:13 +0000)]
When logging genio, check if we need to yield in the same way as in uiomove.

24 years agoRemove the roundrobin_attempts hack and replace it with per-process scheduling
art [Wed, 19 Apr 2000 09:58:19 +0000 (09:58 +0000)]
Remove the roundrobin_attempts hack and replace it with per-process scheduling
flags (much nicer for future smp work).
Add two generic functions yield() and preempt(). Use preepmt() in uio when
we are told to yield.
Based on my idea, code written by Jason Thorpe from NetBSD.

24 years agouse "Op Ar count".
itojun [Wed, 19 Apr 2000 09:43:49 +0000 (09:43 +0000)]
use "Op Ar count".

24 years agoadd bugs section. reference updates.
itojun [Wed, 19 Apr 2000 09:37:35 +0000 (09:37 +0000)]
add bugs section.   reference updates.

24 years agoremove bogus chan_read_failed. this could cause data
markus [Wed, 19 Apr 2000 09:24:39 +0000 (09:24 +0000)]
remove bogus chan_read_failed. this could cause data
corruption (missing data) at end of a SSH2 session.

24 years agonew products; rearrange.
fgsch [Wed, 19 Apr 2000 09:19:43 +0000 (09:19 +0000)]
new products; rearrange.

24 years agosync
fgsch [Wed, 19 Apr 2000 09:18:55 +0000 (09:18 +0000)]
sync

24 years agoNew products from NetBSD; remove duplicated entry.
fgsch [Wed, 19 Apr 2000 09:18:15 +0000 (09:18 +0000)]
New products from NetBSD; remove duplicated entry.

24 years agoDon't abuse malloc to allocate small fixed-size structs that we can keep on the stack.
art [Wed, 19 Apr 2000 08:35:37 +0000 (08:35 +0000)]
Don't abuse malloc to allocate small fixed-size structs that we can keep on the stack.

24 years agoChange struct file interface methods read and write to pass file offset in
csapuntz [Wed, 19 Apr 2000 08:34:50 +0000 (08:34 +0000)]
Change struct file interface methods read and write to pass file offset in
and out.

Make pread/pwrite in netbsd & linux thread safe - which is the whole point
anyway.

24 years agoindent.
fgsch [Wed, 19 Apr 2000 07:52:45 +0000 (07:52 +0000)]
indent.

24 years agoadd boundary check for nd_ifinfo[]. (sync with kame)
itojun [Wed, 19 Apr 2000 07:38:49 +0000 (07:38 +0000)]
add boundary check for nd_ifinfo[].  (sync with kame)

24 years agoFix a bug introduced after cardbus commit where uart16550a was
fgsch [Wed, 19 Apr 2000 07:27:42 +0000 (07:27 +0000)]
Fix a bug introduced after cardbus commit where uart16550a was
being detected as uart16450 as side effect. This also corrects the
posibility of misdetection of vadem controllers.

24 years agopid_t
deraadt [Wed, 19 Apr 2000 07:05:48 +0000 (07:05 +0000)]
pid_t

24 years agotdb_ref should be signed, this avoid a problem with flushing the TDB
angelos [Wed, 19 Apr 2000 03:37:35 +0000 (03:37 +0000)]
tdb_ref should be signed, this avoid a problem with flushing the TDB
table causing repeated allocations of bypass TDBs.

24 years agoForce mailbox to be under 16MB so the controller can see it
niklas [Wed, 19 Apr 2000 02:17:49 +0000 (02:17 +0000)]
Force mailbox to be under 16MB so the controller can see it

24 years agoDocument the way distfiles are mirrored.
espie [Wed, 19 Apr 2000 01:39:58 +0000 (01:39 +0000)]
Document the way distfiles are mirrored.
Document a few things that changed in the ports tree.

24 years agosplit out mbuf scatter gather function
deraadt [Wed, 19 Apr 2000 00:10:35 +0000 (00:10 +0000)]
split out mbuf scatter gather function

24 years agoFavor BIOS geometry over physical. This should fix MANY problems with
kjell [Tue, 18 Apr 2000 22:40:15 +0000 (22:40 +0000)]
Favor BIOS geometry over physical. This should fix MANY problems with
hard drives >8G sharing partitions with other operating systems.
Also, support extended partition type 0x0F, which is quite common now.

24 years agostrip htdigest and htpasswd before installing.
fgsch [Tue, 18 Apr 2000 21:48:38 +0000 (21:48 +0000)]
strip htdigest and htpasswd before installing.

24 years agoTypo: sytem -> system
aaron [Tue, 18 Apr 2000 21:45:14 +0000 (21:45 +0000)]
Typo: sytem -> system

24 years agoRemove the ethernet header from the mbuf before passing it on to
angelos [Tue, 18 Apr 2000 21:37:29 +0000 (21:37 +0000)]
Remove the ethernet header from the mbuf before passing it on to
bridge_input()

24 years agoseems ok w/o priming
mickey [Tue, 18 Apr 2000 20:55:02 +0000 (20:55 +0000)]
seems ok w/o priming

24 years agoadd a note about sysctl/kvm dualism nature
mickey [Tue, 18 Apr 2000 20:46:22 +0000 (20:46 +0000)]
add a note about sysctl/kvm dualism nature

24 years agoadd back a way to analyze post-mortem cores; does not need sgid for syctl() thoguh
mickey [Tue, 18 Apr 2000 20:17:53 +0000 (20:17 +0000)]
add back a way to analyze post-mortem cores; does not need sgid for syctl() thoguh