Commit Graph

126912 Commits

Author SHA1 Message Date
itojun
937e8b0fbe add O_TRUNC to open(2). revision 1.11 used fopen(foo, "w") which implies
truncation of opened file.  it should suppress bogus "corrupted lease file"
warning and broken dhclient.leases staying around.
2004-05-06 09:07:54 +00:00
dyoung
998a558a7f Following Andrew Brown's suggestion, move net.ieee80211 to
net.link.ieee80211.  The convention is that nodes directly under
net are protocol families (PF_*).

Also, simplify the sysctl setup for net80211 and rssadapt, following
another suggestion by Andrew.
2004-05-06 07:11:40 +00:00
atatat
778eadaf46 Add a printf() to the other case in sysctl_createv() where a node did
not get attached for what should be an extremely unusual case.
2004-05-06 07:06:46 +00:00
dyoung
fcd7df4334 Add a sysctl, net.ieee80211.debug, for turning debug messages on
and off.

Add a sysctl, net.ieee80211.maxinact, for adjusting the node time-out
interval.  After net.ieee80211.maxinact seconds of inactivity, an
AP will purge a peer/client-record.  Now the client has to reassociate.
2004-05-06 03:07:10 +00:00
dyoung
7c84c56e55 Create ieee80211_rssadapt_debug to control rssadapt(9) debug messages
independently from net80211 debug messages.  Create a new sysctl,
net.ieee80211.rssadapt.debug, for turning the debug messages on
and off.

Create a new sysctl, net.ieee80211.rssadapt.expavgctl, to control
the rate of decay for the exponential averages used by rssadapt(9).
2004-05-06 03:03:20 +00:00
dyoung
27d8afead9 No need to suppress if_init calls, ether_ioctl already does it.
Also, ether_ioctl handles more address families than ieee80211_ioctl
was.
2004-05-06 02:58:16 +00:00
dyoung
1ff6496e8c Incorporate new authentication debug statements from FreeBSD.
Fix authentication where I had botched it with the FreeBSD import.
(In FreeBSD, net80211 is strangely subroutine-averse, so where we
have ieee80211_auth_open and ieee80211_auth_shared, they incorporate
all of ieee80211_auth_open into ieee80211_recv_mgmt.  I had not
realized that was why the 20 lines of new code.)
2004-05-06 02:56:48 +00:00
dyoung
9e76c33909 NetBSD does not contain IPX support. 2004-05-06 02:16:59 +00:00
dyoung
752f5ad0b1 Fix spelling: supress -> suppress. 2004-05-06 02:14:03 +00:00
dyoung
3d73dc9e3e Check if_init error. 2004-05-06 01:56:08 +00:00
dyoung
e99b377d3f Build and install atppc(4), plip(4), ppbus(4), ppi(4) manual pages. 2004-05-05 21:29:34 +00:00
kleink
a87145f3fc Make sure we tzset() before chroot(); after passing that point
it may no longer be accessible for syslog() to format messages.
2004-05-05 20:15:45 +00:00
bouyer
02bbaa62b0 default_chip_map(): We can't use pciide_mapchan() here, because
pciide_mapchan() will attach an atabus, and we don't know yet if this
channel is enabled or not.
Fix kern/25455 by Dave Huang.
2004-05-05 17:56:14 +00:00
cube
57d44e1cee In NetBSD, if_init() expects a struct ifnet, not the softc. 2004-05-05 16:10:29 +00:00
cjep
033a0de92f bump version due to today\'s changes 2004-05-05 15:06:33 +00:00
cjep
f7b1c3362b update 2004-05-05 14:52:34 +00:00
cjep
0d48a39432 Implement --line-buffered. From OpenBSD. 2004-05-05 14:34:55 +00:00
wiz
65a50720b0 Various improvements; mostly mention arguments of flags by name to
simplify the description and improve lists.
2004-05-05 14:30:59 +00:00
kochi
2cb143dddf Fix parameters for PPB_INTERRUPT_SWIZZLE macro.
The macro expects pin = 1..4 while previously passing 0..3.
2004-05-05 14:08:24 +00:00
yamt
1b03fa5302 uvm_page_unbusy: add assertions and comments about PG_RELEASED anon pages. 2004-05-05 11:58:27 +00:00
yamt
8368dac6a2 fix a amap_wirerange deadlock problem by re-introducing
PG_RELEASED for anon pages.  PR/23171 from Christian Limpach.
for details, see discussion filed in the PR database.

uvm_anon_release: a new function to free anon-owned PG_RELEASED page.
uvm_anfree: we can't wait for the page here because the caller might hold
	amap lock.  instead, just mark the page as PG_RELEASED.
	who unbusy the page should check the PG_RELEASED.
uvm_aio_aiodone: uvm_anon_release() instead of uvm_page_unbusy()
	if appropriate.
uvmfault_anonget: check PG_RELEASED.
2004-05-05 11:54:32 +00:00
yamt
bd712164d0 ubc_release: grab uobj's vmobjlock when calling uvm_page_unbusy(). 2004-05-05 11:35:40 +00:00
jdolecek
55c776851d fix reference Nx 2.1 to Nx 3.0 2004-05-05 08:48:36 +00:00
kochi
6901f11fba Fix comment (mp_nbusses -> mp_nbus) 2004-05-05 04:51:28 +00:00
fair
22e40d8402 Came in here to add nfsstat(1) reference in SEE ALSO,
but since I was here...

Correct spelling of "Kerberos." Add RFC references.
Reword some awkward english.  Sprinkle mandoc macros throughout.
Add white space to aid readability. Change date.
2004-05-05 00:21:00 +00:00
wiz
a82f9cbbec Bump date for previous. 2004-05-04 23:45:08 +00:00
wiz
9bdf6284c2 Mention -c explicitly, use Nm, drop trailing space,
and sort enhancements in history section alphabetically.
2004-05-04 23:44:21 +00:00
pk
b2260877bf proc_reparent() must be called with proclist write lock held. Make it so. 2004-05-04 21:58:47 +00:00
pk
2fb3dac280 Since a vmspace' always includes a vm_map' we can re-use vm_map's
reference count lock to also protect the vmspace's reference count.
2004-05-04 21:33:40 +00:00
pk
3ec3f724be crcopy: no need to lock if we're only reading the structure's reference count. 2004-05-04 21:27:28 +00:00
pk
f3f1104ed8 Change sigactsfree() to take a `struct sigacts' pointer, to fit the needs
of exit1 (its only client).
2004-05-04 21:25:47 +00:00
pk
d190ac352d exit1: if !BIGLOCK, once the exiting process has been placed on the zombie
list and the proclist lock is released, we shouldn't touch the process
structure anymore, since it may be collected immediately by a waiting
parent.
2004-05-04 21:23:39 +00:00
pk
0ba9b6aa91 `uvmexp.swtch++' is already done in exit1(). 2004-05-04 15:48:45 +00:00
pk
b3d526b501 Fix incorrect diagnostic. 2004-05-04 15:34:37 +00:00
jrf
e3a43961ff Remove caddr_t inlines. Approved by christos@NetBSD.org. 2004-05-04 13:26:58 +00:00
grant
4fc8c484c7 - remove an extraneous word
- it's "backward compatibility" not "backwards compatibility"
2004-05-04 13:20:46 +00:00
grant
dced68e86f --unlink is the default, the argument is ignored and only accepted for
compatibility with other tar(1) implementations.
2004-05-04 13:13:01 +00:00
skd
1b1b474faa Fix to update all references to mbuf. Fixes case where mbuf is freed twice. 2004-05-04 11:31:52 +00:00
kochi
30e09aa604 Add reference to vald(4). 2004-05-04 11:11:09 +00:00
mrg
53e1c6f576 add support for:
-q quiet; never show filename headers
	-v verbose; always show headers
	-c <bytecount>; count <bytecount> bytes, not lines

as seen in GNU head(1).
2004-05-04 10:57:42 +00:00
lukem
35a3ccf1af Remove "./dev type=dir" entry from generated devices.spec, as it
causes the ownership of ${.OBJDIR}/work/dev to be used in the image
instead of that from the earlier entry in work.spec.
2004-05-04 03:02:17 +00:00
lukem
6d46b6145e MAKEVERBOSE support 2004-05-04 02:52:05 +00:00
taca
bd6f11c075 postfix 2.1.1 released. 2004-05-04 02:45:47 +00:00
atatat
f5a0e81454 That's "endutxent", not "entutxent". Hi, wiz! 2004-05-04 02:38:35 +00:00
dbj
f1646a867f correct cl's previous flow control fix so that flow control checks
for a pause any time there isn't a write lock
2004-05-03 21:11:30 +00:00
dbj
62cd773f07 fix some minor memory leaks in netbsd patches 2004-05-03 21:10:21 +00:00
bouyer
aaf27601c3 When using LBA48, use Flush cache extended command if supported.
From Christos Zoulas in PR 25366, with minor adjustements from me.
2004-05-03 20:11:40 +00:00
petrov
1ac4411c10 Revert default uvm counters, rename UVMMAP_COUNTERS to UVMMAP_NOCOUNTERS. 2004-05-03 20:10:35 +00:00
lukem
191597b042 move machdep.est.cpu_brand to machdep.cpu_brand 2004-05-03 16:38:28 +00:00
lukem
5f5a907836 fix description for svc_getreqset() 2004-05-03 15:57:36 +00:00