openbsd
21 years agoadd comments saying what we are testing
henning [Tue, 11 Mar 2003 15:10:31 +0000 (15:10 +0000)]
add comments saying what we are testing

21 years agotest rules get the qid and pqid assigned correctly
henning [Tue, 11 Mar 2003 15:07:19 +0000 (15:07 +0000)]
test rules get the qid and pqid assigned correctly

21 years agoinclude pfctl -gsr output in the verification for the pfaltq tests
henning [Tue, 11 Mar 2003 15:05:53 +0000 (15:05 +0000)]
include pfctl -gsr output in the verification for the pfaltq tests

21 years agoregen
henning [Tue, 11 Mar 2003 14:03:22 +0000 (14:03 +0000)]
regen

21 years agodo the queue ID assignment for cbq already in userland. ensure that queues
henning [Tue, 11 Mar 2003 14:02:12 +0000 (14:02 +0000)]
do the queue ID assignment for cbq already in userland. ensure that queues
with different names always have different queue IDs, even if they live on
different interfaces (that was the goal here).
fixes regress pfaltq4

ok cedric@ dhartmei@

21 years agoMissing break, unintentional fall-through. Found by Kimmo Mösö.
dhartmei [Tue, 11 Mar 2003 13:26:09 +0000 (13:26 +0000)]
Missing break, unintentional fall-through. Found by Kimmo Mösö.

21 years agoOn pfctl -a foo -Fn/-Fr, traverse all subrulesets in the anchor and
dhartmei [Tue, 11 Mar 2003 13:20:17 +0000 (13:20 +0000)]
On pfctl -a foo -Fn/-Fr, traverse all subrulesets in the anchor and
clear nat/rules, like -sn/-sr already does.
Reported by Julien Bordet. ok henning@, cedric@

21 years agoverify different named queues don't get the same queue id on different
henning [Tue, 11 Mar 2003 12:00:07 +0000 (12:00 +0000)]
verify different named queues don't get the same queue id on different
interfaces
fails right now

21 years agofix format strings in debugging output, qid is unsigned
henning [Tue, 11 Mar 2003 11:53:28 +0000 (11:53 +0000)]
fix format strings in debugging output, qid is unsigned

ok cedric@ mcbride@

21 years agomore complicated cbq queue id assigment verification
henning [Tue, 11 Mar 2003 11:14:59 +0000 (11:14 +0000)]
more complicated cbq queue id assigment verification

21 years agotest queue ID assignment with cbq
henning [Tue, 11 Mar 2003 11:05:11 +0000 (11:05 +0000)]
test queue ID assignment with cbq

21 years agonew class of regress tests.
henning [Tue, 11 Mar 2003 10:57:11 +0000 (10:57 +0000)]
new class of regress tests.
add target "pfaltq".
altq rules are loaded into the kernel and pfctl -gsq output is verified.
opposed to most other regress tests, these ones modify the existing setup,
as altq definitons cannot live in anchors. all queue definitions are flushed
by these tests. Thus, they are not run by default (not part of
REGRESS_TARGETS), but must be run explicitely (make pfaltq).

pfaltq1: very queue id assignment on multiple interfaces with the priq
scheduler

21 years agoeol whitespace nit
david [Tue, 11 Mar 2003 10:13:16 +0000 (10:13 +0000)]
eol whitespace nit
ok henning@

21 years agoremove extra #
david [Tue, 11 Mar 2003 10:11:59 +0000 (10:11 +0000)]
remove extra #
ok henning@

21 years agosprinkle some .Li
david [Tue, 11 Mar 2003 09:59:37 +0000 (09:59 +0000)]
sprinkle some .Li
ok deraadt@

21 years agosync
deraadt [Tue, 11 Mar 2003 09:29:36 +0000 (09:29 +0000)]
sync

21 years agoOK, this is a strange case. At least some parts of this software is
deraadt [Tue, 11 Mar 2003 09:29:25 +0000 (09:29 +0000)]
OK, this is a strange case.  At least some parts of this software is
copyrighted, and then marked "Copying for Profit is Prohibited", but
the author has passed away.  A number of people have tried to make
some sort of effort at trying to contact his estate, and have failed.
Therefore, lacking the ability to correct this copyright, we must
delete it.  I would bet strongly that this is not what the author
would have intended, but until we can get this resolved, this is the
action we must take.

21 years agoremoved .Ic's which were giving postscript trouble;
jmc [Tue, 11 Mar 2003 09:24:57 +0000 (09:24 +0000)]
removed .Ic's which were giving postscript trouble;

ok deraadt@

21 years agofix spacing in sample output
david [Tue, 11 Mar 2003 09:23:30 +0000 (09:23 +0000)]
fix spacing in sample output
ok cedric@

21 years agonew sentence, new line and whitespace at EOL
david [Tue, 11 Mar 2003 08:44:03 +0000 (08:44 +0000)]
new sentence, new line and whitespace at EOL
ok jmc@

21 years agofiles with dead .Xr's;
jmc [Tue, 11 Mar 2003 08:11:08 +0000 (08:11 +0000)]
files with dead .Xr's;

left .Xr, but removed man page number
as suggested by mpech@

more help and ok millert@

21 years agoEOL whitespace
david [Tue, 11 Mar 2003 07:58:34 +0000 (07:58 +0000)]
EOL whitespace
ok jmc@

21 years agodate is supposed to be written formally
david [Tue, 11 Mar 2003 07:54:01 +0000 (07:54 +0000)]
date is supposed to be written formally
ok jmc@

21 years agomdoc fixes: macros are not allowed inside .Bd -literal blocks
david [Tue, 11 Mar 2003 07:10:04 +0000 (07:10 +0000)]
mdoc fixes: macros are not allowed inside .Bd -literal blocks
ok deraadt@

21 years agoThe variable cse_not_expected must be initialized.
etoh [Tue, 11 Mar 2003 04:52:57 +0000 (04:52 +0000)]
The variable cse_not_expected must be initialized.

21 years agoThe loop optimization using frame pointer is omitted.
etoh [Tue, 11 Mar 2003 04:52:27 +0000 (04:52 +0000)]
The loop optimization using frame pointer is omitted.

21 years agonot to combine the register related to frame addressing for the case FRAME_GROWS...
etoh [Tue, 11 Mar 2003 04:51:53 +0000 (04:51 +0000)]
not to combine the register related to frame addressing for the case FRAME_GROWS upward

21 years agodouble words and spelling fixes
david [Tue, 11 Mar 2003 04:47:39 +0000 (04:47 +0000)]
double words and spelling fixes
ok pjanzen@

21 years agospelling
david [Tue, 11 Mar 2003 04:43:54 +0000 (04:43 +0000)]
spelling
ok jmc@

21 years agospelling
david [Tue, 11 Mar 2003 04:42:25 +0000 (04:42 +0000)]
spelling
ok millert@

21 years agonew sentence, new line
david [Tue, 11 Mar 2003 04:39:52 +0000 (04:39 +0000)]
new sentence, new line
ok beck@

21 years agoMake lpr and lprm setuid root but drop to daemon very early.
millert [Tue, 11 Mar 2003 04:36:55 +0000 (04:36 +0000)]
Make lpr and lprm setuid root but drop to daemon very early.
Functionally this is the same as when lpr and lprm were setuid
daemon but the executable are now owned by root which is safer.
deraadt@ OK

21 years agonew sentence, new line
david [Tue, 11 Mar 2003 04:24:04 +0000 (04:24 +0000)]
new sentence, new line
ok mickey@

21 years ago$OpenBSD$
david [Tue, 11 Mar 2003 04:22:40 +0000 (04:22 +0000)]
$OpenBSD$
ok henning@

21 years agogetnameinfo buffer has to be NI_MAXHOST
itojun [Tue, 11 Mar 2003 04:01:29 +0000 (04:01 +0000)]
getnameinfo buffer has to be NI_MAXHOST

21 years agocheck error on getnameinfo failure.
itojun [Tue, 11 Mar 2003 04:01:11 +0000 (04:01 +0000)]
check error on getnameinfo failure.

21 years agoalways compile and set pcap filters even when filters are not specified.
kjc [Tue, 11 Mar 2003 02:35:34 +0000 (02:35 +0000)]
always compile and set pcap filters even when filters are not specified.
bpf implements snaplen by filters and captures full packets when filters
are not set.

ok deraadt@, dhartmei@

21 years agostrcpy -> strlcpy; Hans-Joerg.Hoexer@yerbouti.franken.de
deraadt [Tue, 11 Mar 2003 02:32:29 +0000 (02:32 +0000)]
strcpy -> strlcpy; Hans-Joerg.Hoexer@yerbouti.franken.de

21 years agoadd protection against packets without pkthdr.
kjc [Tue, 11 Mar 2003 02:25:59 +0000 (02:25 +0000)]
add protection against packets without pkthdr.
this should not happen but just in case.
printf() is intended to be annoying so that we'll get reports on it.

original idea from dhartmei@
ok deraadt@, henning@

21 years agosync
deraadt [Tue, 11 Mar 2003 02:22:46 +0000 (02:22 +0000)]
sync

21 years agogroupmod modifies groups, it doesn't add them
tedu [Tue, 11 Mar 2003 02:02:29 +0000 (02:02 +0000)]
groupmod modifies groups, it doesn't add them

ok millert@

21 years agosync
deraadt [Tue, 11 Mar 2003 02:01:18 +0000 (02:01 +0000)]
sync

21 years agoFix incorrect restriction on valid scsi tape density code values, allowing all
krw [Tue, 11 Mar 2003 01:12:09 +0000 (01:12 +0000)]
Fix incorrect restriction on valid scsi tape density code values, allowing all
currently valid values (0 - 0xff) to be used in mt(1). Add sanity
check to catch negative values.

Minor cleanup so mt_count values are stored in daddr_t variables and
not ints. Eliminate unnecessary cast of mt_op, since it is already a
shot. Leave possible move of mt_count to int32_t rather than daddr_t
to post-3.3.

Problem found, and original diff by Joseph Bender.

costa@ henning@ tdeval@ ok

21 years agomention that avgfilesize is in bytes.
tedu [Tue, 11 Mar 2003 00:53:47 +0000 (00:53 +0000)]
mention that avgfilesize is in bytes.

21 years agouse file system consistently. spot by margarida
tedu [Tue, 11 Mar 2003 00:50:56 +0000 (00:50 +0000)]
use file system consistently.  spot by margarida

21 years agoDocument available video modes for ZX frame buffers, which one will be
miod [Mon, 10 Mar 2003 23:22:34 +0000 (23:22 +0000)]
Document available video modes for ZX frame buffers, which one will be
picked up at boot time depending on which monitor you plug in, and the
lack of any software way to change the resolution (yet).

21 years agoadd some notes about nosuid mounted file systems. suggested by deraadt@
tedu [Mon, 10 Mar 2003 22:51:53 +0000 (22:51 +0000)]
add some notes about nosuid mounted file systems.  suggested by deraadt@

ok deraadt@ millert@

21 years agoAdd (inactive) relaydb examples, ok deraadt@
dhartmei [Mon, 10 Mar 2003 22:39:51 +0000 (22:39 +0000)]
Add (inactive) relaydb examples, ok deraadt@

21 years agoMove /var/log/sendmail.st creation to etc/Makefile where it belongs;
millert [Mon, 10 Mar 2003 21:08:44 +0000 (21:08 +0000)]
Move /var/log/sendmail.st creation to etc/Makefile where it belongs;
noticed by grange@

21 years agoSun documentation mentions that ZX can not run on a sun4c or inside an xbox,
miod [Mon, 10 Mar 2003 20:50:37 +0000 (20:50 +0000)]
Sun documentation mentions that ZX can not run on a sun4c or inside an xbox,
so document this as well.

21 years agoadd a man page for the VOP functions. currently only describes the
tedu [Mon, 10 Mar 2003 20:20:29 +0000 (20:20 +0000)]
add a man page for the VOP functions.  currently only describes the
general idea and VOP_LOOKUP.

ok costa@ deraadt@ jmc@

21 years agoBetter frame buffer manual pages: attempt to better describe the frame buffers
miod [Mon, 10 Mar 2003 20:11:33 +0000 (20:11 +0000)]
Better frame buffer manual pages: attempt to better describe the frame buffers
supported by the various drivers, and provide more accurate information
about them.

Some feedback and fixes from jmc@ and deraadt@

21 years agofilesystem -> file system for section 9
tedu [Mon, 10 Mar 2003 19:56:29 +0000 (19:56 +0000)]
filesystem -> file system for section 9

ok jmc@

21 years agofilesystem -> file system for a little consistency
tedu [Mon, 10 Mar 2003 19:52:05 +0000 (19:52 +0000)]
filesystem -> file system for a little consistency

ok jmc@ millert@

21 years agodocument dirpref options -g and -h (w/ avgfpdir)
tedu [Mon, 10 Mar 2003 19:39:36 +0000 (19:39 +0000)]
document dirpref options -g and -h (w/ avgfpdir)

ok millert@

21 years agonothing of import
deraadt [Mon, 10 Mar 2003 19:36:13 +0000 (19:36 +0000)]
nothing of import

21 years agofix really old typo that prevented inode quotas from ever working.
tedu [Mon, 10 Mar 2003 19:35:29 +0000 (19:35 +0000)]
fix really old typo that prevented inode quotas from ever working.

help testing and eyeballing henric tdeval miod
ok costa deraadt

21 years agofix exit code, stupid bob, spotted by lebel
deraadt [Mon, 10 Mar 2003 19:35:21 +0000 (19:35 +0000)]
fix exit code, stupid bob, spotted by lebel

21 years agothese pages all had bad section numbers in the .Xr's;
jmc [Mon, 10 Mar 2003 15:37:29 +0000 (15:37 +0000)]
these pages all had bad section numbers in the .Xr's;

lots of help and ok millert@

21 years agoLog that cron started up after we detach from the controlling terminal
millert [Mon, 10 Mar 2003 15:27:17 +0000 (15:27 +0000)]
Log that cron started up after we detach from the controlling terminal
and dup fds to /dev/null, not before.  This may fix a possible race
when cron is started as the last thing in /etc/rc.

21 years agoChange a e_username to e_cmd.
millert [Mon, 10 Mar 2003 15:18:25 +0000 (15:18 +0000)]
Change a e_username to e_cmd.

21 years agoBack out changes to get_number() that I didn't intend to commit.
millert [Mon, 10 Mar 2003 15:13:33 +0000 (15:13 +0000)]
Back out changes to get_number() that I didn't intend to commit.

21 years agoDo the check for missing command before the un_getchar(); otherwise
millert [Mon, 10 Mar 2003 15:09:20 +0000 (15:09 +0000)]
Do the check for missing command before the un_getchar(); otherwise
the error messages will say line 0.  This is because un_getchar('\n', file)
will decrement the line count.  Noticed by mpech@

21 years agoregen
henning [Mon, 10 Mar 2003 14:56:50 +0000 (14:56 +0000)]
regen

21 years agocheck for multiple same named queues on one interface.
henning [Mon, 10 Mar 2003 14:54:17 +0000 (14:54 +0000)]
check for multiple same named queues on one interface.
before this was rejected at load time with a rather useless error message,
now a nice error message points out the actual error.

inspired by an error report from Damien Miller

ok dhartmei@ pb@ (monsterdiff complete)

21 years agocorrectly cope with errors returned by eval_pfqueue and pfctl_add_altq
henning [Mon, 10 Mar 2003 14:50:29 +0000 (14:50 +0000)]
correctly cope with errors returned by eval_pfqueue and pfctl_add_altq

ok dhartmei@ pb@ (as part of... you know, monsterdiff)

21 years agorework error handling in eval_pfqueue().
henning [Mon, 10 Mar 2003 14:48:38 +0000 (14:48 +0000)]
rework error handling in eval_pfqueue().
instead of using errx, print the error message and return. This is
consistent with what we do everywhere in pfctl.

ok dhartmei@ pb@ (as part of a monsterdiff)

21 years agowhen complaining about a queue wiwthout parent, include the queue name in
henning [Mon, 10 Mar 2003 14:46:09 +0000 (14:46 +0000)]
when complaining about a queue wiwthout parent, include the queue name in
the error message

ok dhartmei@ pb@ (as part of a monsterdiff)

21 years agoenglish(4) police, Officer Jolan Luff
henning [Mon, 10 Mar 2003 14:24:33 +0000 (14:24 +0000)]
english(4) police, Officer Jolan Luff

21 years agosmall changes to mike's random-id section;
jmc [Mon, 10 Mar 2003 14:15:02 +0000 (14:15 +0000)]
small changes to mike's random-id section;
ok frantzen@

21 years agoit doesn't make sense to mimic pfctl -vsr output in pfctl -vsl (same for
henning [Mon, 10 Mar 2003 13:28:00 +0000 (13:28 +0000)]
it doesn't make sense to mimic pfctl -vsr output in pfctl -vsl (same for
-vvsr ./. -vvsl). this resulted in more or less garbage in pfctl -vsl and
-vvsl output.
so ignore the extra verbosity flags for -sl.

found by pb@
ok pb@ dhartmei@

21 years agowhitespace
henning [Mon, 10 Mar 2003 12:34:20 +0000 (12:34 +0000)]
whitespace

21 years agoFix for the "short cable bug" in sis:
mcbride [Mon, 10 Mar 2003 12:13:23 +0000 (12:13 +0000)]
Fix for the "short cable bug" in sis:

A small number of DP83815's will have excessive receive
errors when using short cables (<30m/100feet) in 100Base-TX
mode. This patch was taken from the National Semiconductor
linux driver and (supposedly - no mention of this in any NS
docs) modifies the dsp's signal attenuation.

ok jason@ deraadt@ markus@

From Willem Dijkstra  wpd at xs4all dot nl

21 years agoregen; line numbers changed after adding comment in input file
henning [Mon, 10 Mar 2003 12:09:23 +0000 (12:09 +0000)]
regen; line numbers changed after adding comment in input file

21 years agoqueue doubly defined on one interface, fails right now
henning [Mon, 10 Mar 2003 12:07:01 +0000 (12:07 +0000)]
queue doubly defined on one interface, fails right now
(is later rejected at load time by the kernel, but pfctl should detect it)

21 years agotun0 mtu depends on too much external factors, so better hardcode tbrsize
henning [Mon, 10 Mar 2003 12:04:29 +0000 (12:04 +0000)]
tun0 mtu depends on too much external factors, so better hardcode tbrsize

21 years agotypos;
jmc [Mon, 10 Mar 2003 11:35:06 +0000 (11:35 +0000)]
typos;

21 years agouse Pa for paths more
deraadt [Mon, 10 Mar 2003 09:40:47 +0000 (09:40 +0000)]
use Pa for paths more

21 years agofew minor tweaks
deraadt [Mon, 10 Mar 2003 09:33:51 +0000 (09:33 +0000)]
few minor tweaks

21 years agoremoval of .Ic for examples.
jmc [Mon, 10 Mar 2003 09:27:47 +0000 (09:27 +0000)]
removal of .Ic for examples.
this was messing the postscript output.

21 years agofix offset; from jmc
deraadt [Mon, 10 Mar 2003 09:26:27 +0000 (09:26 +0000)]
fix offset; from jmc

21 years agoreal pretty now
deraadt [Mon, 10 Mar 2003 09:16:06 +0000 (09:16 +0000)]
real pretty now

21 years agobased on ideas from david, fix the Cm problems, and others
deraadt [Mon, 10 Mar 2003 07:22:04 +0000 (07:22 +0000)]
based on ideas from david, fix the Cm problems, and others

21 years agosync
deraadt [Mon, 10 Mar 2003 06:22:41 +0000 (06:22 +0000)]
sync

21 years agocorrect use of getnameinfo. PR 3138
itojun [Mon, 10 Mar 2003 06:20:10 +0000 (06:20 +0000)]
correct use of getnameinfo.  PR 3138

21 years agoCorrect SYNOPSIS, document option `-C', add /etc/man.conf to section FILES,
millert [Mon, 10 Mar 2003 05:51:29 +0000 (05:51 +0000)]
Correct SYNOPSIS, document option `-C', add /etc/man.conf to section FILES,
add references to man.conf(5) and makewhatis(8); Andrey Matveev

21 years agoduplicate words and spelling fixes in comments
david [Mon, 10 Mar 2003 04:02:49 +0000 (04:02 +0000)]
duplicate words and spelling fixes in comments
ok miod@

21 years agotypo
david [Mon, 10 Mar 2003 03:57:57 +0000 (03:57 +0000)]
typo
ok drahn@

21 years agodouble word (be be) in comment
david [Mon, 10 Mar 2003 03:56:39 +0000 (03:56 +0000)]
double word (be be) in comment
ok drahn@

21 years agodouble word (the the) and spelling
david [Mon, 10 Mar 2003 03:55:09 +0000 (03:55 +0000)]
double word (the the) and spelling
ok henning@

21 years agospelling fixes
david [Mon, 10 Mar 2003 03:53:32 +0000 (03:53 +0000)]
spelling fixes
ok millert@

21 years agodouble words in comments
david [Mon, 10 Mar 2003 03:50:13 +0000 (03:50 +0000)]
double words in comments
ok millert@

21 years agospelling fixes
david [Mon, 10 Mar 2003 03:48:16 +0000 (03:48 +0000)]
spelling fixes
ok millert@

21 years agofix spelling in comment
david [Mon, 10 Mar 2003 03:45:20 +0000 (03:45 +0000)]
fix spelling in comment
ok millert@

21 years agoFixed some small typos & formatting following suggestions from jmc
mdw [Mon, 10 Mar 2003 02:37:34 +0000 (02:37 +0000)]
Fixed some small typos & formatting following suggestions from jmc

21 years agocommented hourly spamd-setup run
deraadt [Mon, 10 Mar 2003 01:05:28 +0000 (01:05 +0000)]
commented hourly spamd-setup run

21 years agoFix AP scan on prism and add a /* FALLTHROUGH */ comment to make
millert [Mon, 10 Mar 2003 00:59:54 +0000 (00:59 +0000)]
Fix AP scan on prism and add a /* FALLTHROUGH */ comment to make
things obvious.

21 years agozx fits on the floppies.
miod [Sun, 9 Mar 2003 22:41:54 +0000 (22:41 +0000)]
zx fits on the floppies.

21 years agoadd comments what we are testing - these tests look so simple that they
henning [Sun, 9 Mar 2003 22:23:31 +0000 (22:23 +0000)]
add comments what we are testing - these tests look so simple that they
might get removed later otherwise, so make clear these are edge cases in
internals we are provoking

21 years agotypo in comment, krause
henning [Sun, 9 Mar 2003 22:21:16 +0000 (22:21 +0000)]
typo in comment, krause