Commit Graph

140477 Commits

Author SHA1 Message Date
wiz
4785baa84f Use Dv instead of Sy for macros.
Do not Xr to ourselves, use .Nm instead.
2005-10-03 19:16:35 +00:00
rpaulo
75886382db Update to reflect new ifmedia constants.
Reviewed by David Young.
2005-10-03 18:08:03 +00:00
manu
bc210edac8 Fix COMPAT_DARWIN build. This closes PR#31336 2005-10-03 17:11:25 +00:00
wiz
13132461ea Use full month names in Dd. 2005-10-03 16:52:17 +00:00
wiz
5219255abf getfsent(3) does not contain any information about the (nonexisting)
function getfstype(), so don't MLINK it. Remove getfstype from other
places that reference it too.

Noted by jmc@openbsd.
2005-10-03 14:56:32 +00:00
manu
a02c0f01ca Make sure that the port numbers are set to 0 in SAD and SPD when NAT-T
is not enabled. While we are here, add some safety tests on PFKEY
messages

This fixes the problem described in bin/30437
2005-10-03 13:14:38 +00:00
macallan
91cf1be5bf Build mach64_get_mode only on SPARC and PowerPC to shut up a compiler warning. 2005-10-03 11:22:06 +00:00
macallan
22da510a75 Cleanup, remove some duplicate code, behave better with more than one instance present. ( for machfb.c 1.34+ ) 2005-10-03 10:26:24 +00:00
christos
180fd9f68f PR/31452: Zafer Aydogan: Show uptime in top display (written by Simon Burge) 2005-10-03 05:34:51 +00:00
yamt
a692b5dc5a note about conf/std.
(forgot to commit with conf/std.)
2005-10-03 04:45:52 +00:00
mrg
8b78edeb42 fix a bug pointed out by der mouse on tech-kern: in F_GETOWN, use a
pointer to a temporary "int" variable to pass to fo_ioctl(TIOCGPGRP), not
a register_t pointer.  (how did F_GETOWN ever work on sparc64 before?)
2005-10-03 02:06:00 +00:00
christos
1cd51a7e8a update todo items. 2005-10-03 00:17:53 +00:00
lukem
d7a2bc3a39 logxfer(): don't use the same buffer to store the results of two separate
concurrent realpath(3)s, otherwise we'll log the wrong information
for a rename.
Noted by Dmitry Sivachenko in private mail.
2005-10-03 00:02:25 +00:00
lukem
2484bb2972 Fix do_defaults() so that it errors when there's a mismatch.
Noted by Matthias Scheler.
2005-10-02 23:46:48 +00:00
lukem
7ea2be42e0 Fix comment about DEFAULT_UMASK.
Pointed out in private mail by Tetsuya Isaki and Dmitry Sivachenko.
2005-10-02 23:03:04 +00:00
shige
18dc3d6415 Break infinite-loop at md_check_partitions. 2005-10-02 22:42:09 +00:00
bouyer
33d782018b Note Xen network backend inprovements. 2005-10-02 21:55:41 +00:00
bouyer
24accead84 Add
options         MCLSHIFT=12
in order to avoid a copy when a mbuf cluster has to be sent to a domU
(which is the common case when the packet comes from a physical network
interface).
2005-10-02 21:53:16 +00:00
bouyer
213d74cfef Major improvements to the network backend, leading to a 0-copy transmit and
receive system:
- on the receive side, attach the mapped buffer as external storage
  instead of copying it. As a mapped buffer may not live much longer, we
  have to deal with the fact that one page of buffer may containt several
  packets, and it's not possible to map them several times. Use a hashed list
  to keep track of mapped pages, and use reference counters.
- on the transmit side, when MCLBYTES == PAGE_SIZE, give away the mbuf
  cluster page when possible instead of copying it. Keep a pool of physical
  pages to map in place of the page we give away. When copying, use a
  pool_cache(9) to manage copy buffers (use mclpool_cache when
  MCLBYTES == PAGE_SIZE, otherwise use a private pool/pool_cache) instead
  of a local list. This should reduce the number of hypercalls and MMU
  operations in the copy case as well.
2005-10-02 21:49:23 +00:00
bouyer
8b47a87eb6 Have xennet_start() schedule a software interrupt to defer processing of the
send queue. This give upper layer an opportunity to queue up all available
packets before starting to process them. This reduce the number of interrupt
generated on the backend, and the time spent doing hypercalls in a significant
way.
2005-10-02 21:39:41 +00:00
cube
8745ad50f1 Add a regression test framework for config(1).
The first test, SHADOW_INSTANCE, includes an example of a shadowed
instance:  'child' only attaches to attribute hook, therefore the instance
'child* at parentii?' is shadowed by 'child* at hook?'.

However, that configuration file is still valid, and therefore must be
accepted.
2005-10-02 21:27:02 +00:00
cube
2fb411a123 Don't return immediately when detecting that a devbase has already been
seen:  aliases might have to be activated, too.  Fixes GENERIC of alpha
and amiga.
2005-10-02 21:22:56 +00:00
chs
8eaf597e57 typo. 2005-10-02 17:53:23 +00:00
chs
34237b749e add a missing dependency (discovered by parallel build). 2005-10-02 17:52:22 +00:00
chs
7c02feca68 avoid calling into the pool code while holding sched_lock
since both pool_get() and pool_put() can call wakeup().
instead, allocate the struct sadata_upcall before taking
sched_lock in mi_switch() and free it after releasing sched_lock.

clean up some modularity warts by adding a callback to
struct sadata_upcall for freeing sa_arg.
2005-10-02 17:51:27 +00:00
chs
9c47d944e4 optimize pool_caches similarly to how I optimized pools before:
split the single list of pool cache groups into three lists:
completely full, partially full, and completely empty.
use LIST instead of TAILQ where appropriate.
2005-10-02 17:29:31 +00:00
christos
18b5fc9e5c Off by one in copying stuff to struct whoent. Found by Liam Foy. 2005-10-02 16:49:46 +00:00
chs
67ca114699 add QUEUEDEBUG for CIRCLEQ. 2005-10-02 15:34:42 +00:00
chs
8b17730eac put mcount.c in the normal object list, so that "make depend" works.
use a gcc attribute to prevent it from being instrumented.
2005-10-02 15:34:17 +00:00
bouyer
c42416ada1 Xref pool_cache(9) and bump date. 2005-10-02 15:17:32 +00:00
chs
708b1a54c3 remove unnecessary extern declaration. 2005-10-02 15:10:16 +00:00
chs
c4cc0529a0 make this compile again after stricter warnings and compat changes. 2005-10-02 15:07:41 +00:00
kleink
8ab59cd76b Remove MLINKS leftover from previous. 2005-10-02 14:57:13 +00:00
gdt
13d60a911d Escape backslash (in \n) in example program so that it appears
correctly in formatted output.  Now the example program can be
cut/pasted/compiled.
2005-10-02 14:24:41 +00:00
wiz
a0655223fb Sort wpa_supplicant entry. 2005-10-02 01:18:59 +00:00
cube
895e5687a9 Allow 'maxusers' redefinition. 'maxusers 0' will cancel the existing
value and make config(1) use the machine-dependent default.
2005-10-02 00:18:09 +00:00
cube
7aa6070d4e o Keep track of negated devices in deaddevitab
o  Rework do_kill_orphans() to use that information and mark explicitely
   orphaned devices (i.e., the ones whose missing ancestor has been
   negated)
o  Make a distinction between erroneous orphans and explicit orphans.
   Error out on the former, ignore the later (but print a warning when -v
   is used)

Yes, now config(1) will actually stop if you comment out a parent.  That
should help people still hoping adjustkernel is relevant these days :)
2005-10-01 23:30:37 +00:00
macallan
09bc805fb6 Build XFree86 on NetBSD/sparc.
Tested on Krups and a SPARCbook 3GX
Works only with wscons kernels, currently there's official support on Krups
with igsfb and more or less official support for SPARCbooks with pnozz and
SPARCstations with cgsix.
2005-10-01 22:51:31 +00:00
jdolecek
3d31948771 VGE_FIXUP_RX is not needed on amd64, disable it for all non-strict
alignment architectures

fix ETHER_ALIGN to 2 (same value as on FreeBSD) - appears VGE_FIXUP_RX
code cuts part of packet otherwise; also add comment about it's purpose

PR: 31323 by Murata Shuuichirou
2005-10-01 22:30:09 +00:00
christos
4ee0069616 wpa_supplicant is dual-licensed, so it can stay in /usr/src/dist. 2005-10-01 21:34:01 +00:00
jdolecek
5fbad4b597 use killproc() for killing the process due to text file modification, so
that it's logged too

PR: 17392 by Greg A. Woods
2005-10-01 21:09:03 +00:00
jdolecek
05a8b02adf log when traced process is orphaned
PR: 17388 by Greg A. Woods
2005-10-01 21:07:38 +00:00
christos
ae7cb086a0 make this build again after the source move to gnu/dist. 2005-10-01 20:46:43 +00:00
christos
c05266af8a fix setmode error handling. 2005-10-01 20:23:54 +00:00
christos
16547af71a Fix setmode error handling. 2005-10-01 20:22:29 +00:00
christos
037f0a7b03 Now that setmode() is fixed, handle errors with err instead errx. 2005-10-01 20:09:18 +00:00
christos
fbd01002b3 Make sure that setmode sets errno on failure (it used to return a random
errno) and document it.
2005-10-01 20:08:01 +00:00
macallan
d15fb24907 Cleanup, remove some duplicate code, behave better with more than one instance
present.
2005-10-01 19:01:01 +00:00
scw
2cc2cb3389 Note addition of wpa_cli and wpa_supplicant. 2005-10-01 18:53:58 +00:00
scw
3882892ca2 Update for wpa_cli and wpa_supplicant. 2005-10-01 18:51:15 +00:00