Commit Graph

57397 Commits

Author SHA1 Message Date
dwmalone
24a3b712aa Give units a bit of a cleanup:
1) Fix a bug where the recursion on prefixes where if recusrion failed
	then the next attempt started too far along the string.
2) Up some internal limits that we were about to hit off.
3) Change the constness and signedness of some things and complete missing
	prototypes.
4) Remove the readerror function 'cos it could print out the wrong
	wrong file name. Replace it with more useful error messages.
5) Use sizeof when passing buffers to fgets.
6) Warn about empty prefix definitions.

Reviewed by:	iedowse
2001-02-28 15:57:38 +00:00
jlemon
f962d0dc9b Use the new EV_SET macro to insure that all fields in struct kevent
are correctly initialized before use.  This should fix the problem
with DNS.

Pointy hat to:  me
2001-02-28 15:47:47 +00:00
ru
e7ebccfa37 Prepare for mdocNG. 2001-02-28 13:18:04 +00:00
ru
1f34e99769 mdoc(7) police: prepare for mdocNG. 2001-02-28 13:11:51 +00:00
ru
eb11ec5a72 mdoc(7) police: fix the .Nd line broken in previous revision.
Noticed by:	bde

Use .Bx for ``BSD''.
2001-02-28 12:54:16 +00:00
obrien
a5bd8bc113 Fix style bug I introduced with rev 1.13 (rcsid after includes).
Along with CSRG id lossage in rev 1.11.

Submitted by:	bde
2001-02-28 11:06:04 +00:00
obrien
5fa97ec5bf Allow "NOSHARED" to be overridden.
Submitted by:	bde
2001-02-28 10:46:50 +00:00
phk
78a2aff290 Fix jails. 2001-02-28 09:38:48 +00:00
gshapiro
3fd57baf14 ip6fw doesn't support -q if reading from a file so don't use ${fw6cmd} which
may have a -q if ${ipv6_firewall_quiet} is set.

Reviewed by:	kris
2001-02-28 06:51:17 +00:00
imp
e32fb0047a It is now safe to go back into the water. 2001-02-28 05:45:16 +00:00
dillon
951d4c0a1d Linux does not filesystem-sync file-backed writable mmap pages on
a regular basis.  Adjust our linux emulation to conform.  This will
cause more dirty pages to be left for the pagedaemon to deal with,
but our new low-memory handling code can deal with it.   The linux
way appears to be a trend, and we may very well make MAP_NOSYNC the
default for FreeBSD as well (once we have reasonable sequential
write-behind heuristics for random faults).
(will be MFC'd prior to 4.3 freeze)

Suggested by: Andrew Gallatin
2001-02-28 04:30:27 +00:00
dillon
86a16a841c If we intend to make the page writable without requiring another fault,
make sure that PG_NOSYNC is properly set.  Previously we only set it
for a write-fault, but this can occur on a read-fault too.
(will be MFCd prior to 4.3 freeze)
2001-02-28 04:26:43 +00:00
dillon
f1c1ec2bab Fix lockup for loopback NFS mounts. The pipelined I/O limitations could be
hit on the client side and prevent the server side from retiring writes.
Pipeline operations turned off for all READs (no big loss since reads are
usually synchronous) and for NFS writes, and left on for the default bwrite().
(MFC expected prior to 4.3 freeze)

Testing by: mjacob, dillon
2001-02-28 04:13:11 +00:00
gshapiro
2ab101b239 Fix dependencies and cleanup spacing in the file 2001-02-28 04:04:07 +00:00
gshapiro
4e167066ca Fix dependencies and use a better variable name 2001-02-28 04:03:51 +00:00
obrien
bdfc38bbbc Update HISTORY. 2001-02-28 03:33:44 +00:00
peter
0595f4ab95 newbus_ioconf() is long gone 2001-02-28 02:55:15 +00:00
jake
623f06756a Sigh. Try to get priorities sorted out. Don't bother trying to
update native priority, it is diffcult to get right and likely
to end up horribly wrong.  Use an honestly wrong fixed value
that seems to work; PUSER for user threads, and the interrupt
priority for ithreads.  Set it once when the process is created
and forget about it.

Suggested by:	bde
Pointy hat:	me
2001-02-28 02:53:44 +00:00
peter
b31794bc17 Some more tidying up. we dont use config-dependent anyware. Eliminate
some duplicate code (cut/paste bug?). tidy up some other minor stuff.
2001-02-28 02:53:32 +00:00
gshapiro
5e2296a1b5 Add a pointer to the ORBS web site for more DNS black hole lists. 2001-02-28 02:47:52 +00:00
peter
a5edad0c8e s/special/compilewith/ (so I stop confusing myself) and GC an unused
function I missed before.
2001-02-28 02:30:30 +00:00
peter
9150f2f38c Untangle some special magic that happened for conflicting defintions for
local files.* and options.* files on the third pass.
2001-02-28 02:07:47 +00:00
gshapiro
2eb2637e97 Fixup some of the commented out examples:
1) blackholes.mail-abuse.org is the same as FEATURE(dnsbl), so specifying
it in the "Other DNS based black hole lists" section leads to confusion of
specifying it twice.

2) Formatting issues. If error diagnostic not enclosed in double quotes,
varius visual artefacts appearse like 1) no space after ; and 2) redundant
space after ? (in CGI request), so I add quotes where needed.

3) FEATURE(dnsbl) directly use error code 550 by default, so I made other
dnsbl variants use the same error code too.

4) Comment relays.* list as "open relays" list, just "other" word is not
explain enough.

Submitted by:	ache
2001-02-28 02:06:46 +00:00
gshapiro
2d37957135 The HEAD now has sendmail 8.11.3 2001-02-28 01:51:13 +00:00
gshapiro
3f52141792 Add release notes for the sendmail-related build infrastructure changes. 2001-02-28 01:49:57 +00:00
peter
3e7f0594ab Remove some more dead code. :-/ 2001-02-28 01:38:01 +00:00
peter
715eecb34f GC some leftover stuff (device-driver suffix) 2001-02-28 01:17:04 +00:00
gshapiro
d670e0b9fb Repair 8.11.3 merge conflicts 2001-02-28 00:22:47 +00:00
gshapiro
e4882e48c0 This commit was generated by cvs2svn to compensate for changes in r73188,
which included commits to RCS files with non-trunk default branches.
2001-02-28 00:19:57 +00:00
gshapiro
8d82727087 Import sendmail 8.11.3 2001-02-28 00:19:57 +00:00
mjacob
2143eb8428 update man page wrt hints usage 2001-02-27 23:33:17 +00:00
obrien
f54404e03d Remove the `r' devices. 2001-02-27 23:29:13 +00:00
peter
f8c6afac6a Slightly reimplement some recently added helper functions as methods, so
that drivers are not reaching into the internals of the pci bus.  There
are no driver changes, the public interface is the same.
2001-02-27 23:13:20 +00:00
mjacob
3e1ddd9d4e Update NOTES wrt hint for fxp. 2001-02-27 23:02:00 +00:00
mjacob
dc46fafd19 A better mousetrap: use device hints, as in:
hint.fxp.0.prefer_iomap="1"

to set IO vs. Memory space mapping.
2001-02-27 22:57:32 +00:00
obrien
30bb5dedca Fix indent endless on garbage input (i.e., if it encountered EOF while
waiting for a '}' nesting terminator)

Obtained from:	OpenBSD rev 1.8
2001-02-27 20:50:34 +00:00
jlemon
dd84ad82bf When iterating over our list of interface addresses in order to determine
if an arriving packet belongs to us, also check that the packet arrived
through the correct interface.  Skip this check if the packet was locally
generated.
2001-02-27 19:43:14 +00:00
bmah
0b306b40df Fix typo: s/TAR_SSH/TAR_RSH/
Update:  ICMP resetting TCP sysctl is now net.inet.tcp.icmp_may_rst.

Submitted by:	knu, jesper
2001-02-27 19:25:23 +00:00
scottl
79a9a14093 Don't re-init the mixer on resume. This keeps the channel volumes from
being trashed when you suspend, though this may need to be revisited if we
ever get suspend-to-disk implememted.
2001-02-27 18:40:07 +00:00
julian
21c0f33eb6 Add an entry for the nmdm devices 2001-02-27 18:36:56 +00:00
julian
00392505c3 Remove warnings.. seems to compile as a module now too. 2001-02-27 17:52:49 +00:00
julian
7132567ff2 Catch up with rwatsons ucred changes. 2001-02-27 17:43:53 +00:00
gallatin
f23ef63cf9 - An array of 4 32-bit ints for avenrun doesn't work on the alpha because
fscale is a (64-bit) long.  So just use a struct loadavg.
This fixes the recent failure of top on alphas:
	top: sysctl(vm.loadavg...) failed: Cannot allocate memory

- use size_t for sizeof() so as to fix a few int/long warnings on alpha

Reviewed by: Thomas Moestl <tmoestl@gmx.net>
2001-02-27 17:11:19 +00:00
julian
e50089028c Not quite working makefile to make the nmdm device as a module. 2001-02-27 16:53:59 +00:00
julian
bfb6844216 put the null modem driver (nmdm) in the right place with the right name. 2001-02-27 16:41:28 +00:00
julian
9bfaef2609 Do it right this time. Give it a better name and place
CVSrepo deletion of the previous attempt will be requested:

--original message--
Add the 'virtual nulmodem driver'
Particularly useful for debuging kernels using vmware.

If your name is Bruce evans and you are a WIZ at tty interfaces,
then you should probably rip this to shreds and offer lots of suggestions and
patches. I've been using this since 4.0-CURRENT and it's never caused
problems but I'm sure I got something wrong. This is similar to the pty/cty
device driver except that both sides are ttys. Even minor numbers
are side A and odd minor numbers are side B.
Work needs to be done regarding what happens to the other side when you
close a node.

to use with vmware, configure vmware to redirect COM2 out to side A of one
of these and boot a kernel with teh gdb remote port set to sio1.
AFTER dropping into the gdb kernel debugger in your test kernel,
fire up gdb with it's remote port pointing at the appropriate side B.

To catch all console output, you can boot the vmware kernel with a serial
console, (COM1) similarly redirected to a nulmodem, and use 'tip' to observe it.

This is practically unaltered since pre 4.0 days except for
changes made along the way needed to make it compile, so any suggestions
or offers of total rewrites will be listenned to :-)
2001-02-27 16:39:54 +00:00
julian
d6232689ce Tell the world about the nulmodem device. 2001-02-27 16:20:57 +00:00
jlemon
28b75de70b Correctly declare variables as u_int rather than doing typecasts.
Kill some register declarations while I'm here.

Submitted by:  bde (1)
2001-02-27 15:11:31 +00:00
bmah
07928b2999 New release notes: TCP delayed ACK fixes, ICMP bugfix, find(1)
case-insensitive and regexp additions, pkg_delete(1) globbing,
tar(1) TAR_SSH, disklabel(8) fixes, rand(3) improvements.

New MFCs noted:  pkg_info(1) globbing, burncd(8) -m and related changes.
2001-02-27 15:04:50 +00:00
ache
3646349667 Use formula with better random distribution for rand()
Even better formula from random() could not be intetgrated because rand_r()
supposed to store its state in the single variable (but table needed for
random() algorithm integration).
2001-02-27 14:42:19 +00:00