openbsd
24 years agoWhen incorporating new messages, clear the "new" count before the
millert [Tue, 25 Apr 2000 16:42:22 +0000 (16:42 +0000)]
When incorporating new messages, clear the "new" count before the
inc so the count of new messages is useful afterwards.  This makes
mail behave more like the SunOS version in this respect.

24 years agoMention that ktrace(2) doesn't follow links
millert [Tue, 25 Apr 2000 16:40:37 +0000 (16:40 +0000)]
Mention that ktrace(2) doesn't follow links

24 years agoMissed this in last ncurses sync
millert [Tue, 25 Apr 2000 16:39:05 +0000 (16:39 +0000)]
Missed this in last ncurses sync

24 years agoscrew .S version memset does same job...
mickey [Tue, 25 Apr 2000 15:28:23 +0000 (15:28 +0000)]
screw .S version memset does same job...

24 years agomake bzero() compile again; millert@ ok
mickey [Tue, 25 Apr 2000 15:24:01 +0000 (15:24 +0000)]
make bzero() compile again; millert@ ok

24 years agoC deals with complex functions, but not imaginary ones yet.
espie [Tue, 25 Apr 2000 15:15:10 +0000 (15:15 +0000)]
C deals with complex functions, but not imaginary ones yet.

24 years agocorrect boundary check. XXX should avoid code duplicate here...
itojun [Tue, 25 Apr 2000 13:39:02 +0000 (13:39 +0000)]
correct boundary check.  XXX should avoid code duplicate here...

24 years agogetpw*_r()
d [Tue, 25 Apr 2000 12:21:05 +0000 (12:21 +0000)]
getpw*_r()

24 years agointerop w/ F-secure windows client
markus [Tue, 25 Apr 2000 10:30:38 +0000 (10:30 +0000)]
interop w/ F-secure windows client

24 years agoFrom Assar: make adosfs compile, I was supposed
niklas [Tue, 25 Apr 2000 06:10:15 +0000 (06:10 +0000)]
From Assar: make adosfs compile, I was supposed
to commit this long ago.

24 years agoif we have to allocate a new mbuf, don't forget to copy the header info from
jason [Tue, 25 Apr 2000 06:03:46 +0000 (06:03 +0000)]
if we have to allocate a new mbuf, don't forget to copy the header info from
the original packet.

24 years agofixing the frontend means fixing the backend too... add a countdown when
jason [Tue, 25 Apr 2000 05:32:21 +0000 (05:32 +0000)]
fixing the frontend means fixing the backend too... add a countdown when
computing the length of a destination buffer in the callback since hifn always
writes in multiples of 4 bytes (and AH can produce non-nice packets)

24 years agosync unknown list with reality; minor changes.
fgsch [Tue, 25 Apr 2000 04:48:49 +0000 (04:48 +0000)]
sync unknown list with reality; minor changes.

24 years agouse the size of the allocation, not the minimum of what was requested and
jason [Tue, 25 Apr 2000 04:15:34 +0000 (04:15 +0000)]
use the size of the allocation, not the minimum of what was requested and
the allocation size to determine the length of a destination buffer

24 years agowhen fixing up the header, copy from the right sized datatype (fixes IPsec
jason [Tue, 25 Apr 2000 02:53:45 +0000 (02:53 +0000)]
when fixing up the header, copy from the right sized datatype (fixes IPsec
on big-endian machines)

24 years agoanother annoying thing
deraadt [Tue, 25 Apr 2000 02:34:43 +0000 (02:34 +0000)]
another annoying thing

24 years agonon-O_NOFOLLOW error introduced by accident, this is fragile code..
deraadt [Tue, 25 Apr 2000 02:10:04 +0000 (02:10 +0000)]
non-O_NOFOLLOW error introduced by accident, this is fragile code..

24 years agoomit RC5
deraadt [Tue, 25 Apr 2000 01:25:13 +0000 (01:25 +0000)]
omit RC5

24 years agoclean up bogus .Nm ""
jakob [Mon, 24 Apr 2000 23:37:31 +0000 (23:37 +0000)]
clean up bogus .Nm ""

24 years agodefault to non-verbose (previously undefined)
jakob [Mon, 24 Apr 2000 23:11:14 +0000 (23:11 +0000)]
default to non-verbose (previously undefined)

24 years agoinclude cleanup
jakob [Mon, 24 Apr 2000 22:59:25 +0000 (22:59 +0000)]
include cleanup

24 years agouse _PATH_MASTERPASSWD & _PATH_GROUP
jakob [Mon, 24 Apr 2000 22:52:36 +0000 (22:52 +0000)]
use _PATH_MASTERPASSWD & _PATH_GROUP

24 years agoinit
jakob [Mon, 24 Apr 2000 22:45:42 +0000 (22:45 +0000)]
init

24 years agofix usage when building with EXTENSIONS
jakob [Mon, 24 Apr 2000 22:40:11 +0000 (22:40 +0000)]
fix usage when building with EXTENSIONS

24 years agois_number() is needed even without EXTENSIONS defined
jakob [Mon, 24 Apr 2000 22:38:31 +0000 (22:38 +0000)]
is_number() is needed even without EXTENSIONS defined

24 years agoremove lint stuff. remove unneeded strlcpy.
jakob [Mon, 24 Apr 2000 22:37:15 +0000 (22:37 +0000)]
remove lint stuff. remove unneeded strlcpy.

24 years agoid-tags
jakob [Mon, 24 Apr 2000 22:31:29 +0000 (22:31 +0000)]
id-tags

24 years agoInitial import of user/group management tools from NetBSD.
jakob [Mon, 24 Apr 2000 22:26:59 +0000 (22:26 +0000)]
Initial import of user/group management tools from NetBSD.

24 years agosync
deraadt [Mon, 24 Apr 2000 22:21:26 +0000 (22:21 +0000)]
sync

24 years agooops
deraadt [Mon, 24 Apr 2000 22:21:17 +0000 (22:21 +0000)]
oops

24 years agosync
deraadt [Mon, 24 Apr 2000 21:31:45 +0000 (21:31 +0000)]
sync

24 years agoserverworks is very private with their info...
deraadt [Mon, 24 Apr 2000 21:31:37 +0000 (21:31 +0000)]
serverworks is very private with their info...

24 years agouse mii_detach, now xe detach/attach rocks again
niklas [Mon, 24 Apr 2000 21:15:33 +0000 (21:15 +0000)]
use mii_detach, now xe detach/attach rocks again

24 years agoAdd simple mii detach routine while waiting for the post-2.7
niklas [Mon, 24 Apr 2000 21:13:33 +0000 (21:13 +0000)]
Add simple mii detach routine while waiting for the post-2.7
merge of NetBSD mii work

24 years agoFix promiscuous mode (from martin@crt.se). Style nits. Do not look at
niklas [Mon, 24 Apr 2000 21:10:09 +0000 (21:10 +0000)]
Fix promiscuous mode (from martin@crt.se). Style nits.  Do not look at
instance numbers in mii matching

24 years agoremove old stuff
deraadt [Mon, 24 Apr 2000 20:23:28 +0000 (20:23 +0000)]
remove old stuff

24 years agorevived by mistake
niklas [Mon, 24 Apr 2000 19:59:16 +0000 (19:59 +0000)]
revived by mistake

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.