Commit Graph

196699 Commits

Author SHA1 Message Date
pgoyette
2517c83d16 Move the servent and protoent tests to src/tests/lib/libc/net/ (where
they should have gone initially).
2011-01-12 17:32:27 +00:00
pooka
0f41405209 reject r/o mount attempts 2011-01-12 17:20:54 +00:00
pooka
afb452e673 Simplify test: there's no reason to mount 2x ffs. 2011-01-12 17:16:24 +00:00
pooka
8c4600a2ed Mark rootfs r/w. Thanks to the incredible machine known as vfs,
the only one who noticed the inconsistency of writing to a r/o fs
was unionfs.
2011-01-12 17:14:34 +00:00
pooka
13a6c9a843 shmif_dumpbus + man 2011-01-12 16:18:57 +00:00
pooka
fca51725c2 shmif(4) bus dumping utility 2011-01-12 16:14:24 +00:00
pooka
6f53b4a35d make this happy to compile standalone 2011-01-12 16:12:30 +00:00
tron
6c69e62ab1 Put back entries for obsolete debugging directories. They weren't
duplicates. Problem pointed out by Paul Goyette in private e-mail.
2011-01-12 16:08:12 +00:00
tsutsui
e3b6673e18 Pull a fix from src/sys/net/if_ethersubr.c rev. 1.185:
Fix off by one.
2011-01-12 15:32:43 +00:00
tsutsui
d6f76b4a7b Fix off by one in ether_aton_r(). Noticed by "arp info overwritten" warning.
(how could it be missed for months?)
2011-01-12 15:30:40 +00:00
pooka
3626eb4b01 call procexit when a connection closes 2011-01-12 12:52:16 +00:00
tron
88e2cd7ae1 Remove duplicate entries for "usr/tests/lib/libc/getaddrinfo" and mark
the remaining entries as obsolete.
2011-01-12 12:52:13 +00:00
pooka
2bd6ac2300 add spop_procexit 2011-01-12 12:51:47 +00:00
pooka
b0bfbf33ac When the client and the rump kernel are the same host process, all
threads blocking in the kernel automatically exit when the process
exists.  However, for the sysproxy case this does not hold.
Typically it's ~harmless, but e.g. in the case of socket binding
following by poll it gets annoying.

Introduce sysproxy procexit, which wakes up all threads blocking
on a condition when a process's communication socket is closed.
The code is a little different from the regular kernel simply
because in a rump kernel l_mutex is not available at all times
(this is because scheduling happens on every kernel entry and exit,
and that path must be kept lockless for any reasonable performance).
Instead, use gating which makes sure all threads are either out of
the cv code or suspended in a well-known state.  Then, wake up the
threads and tell them to get the hell out of our galaxy.
2011-01-12 12:51:21 +00:00
pooka
d086663369 Execute a variety of syscalls in the stress test, including opening
files and sockets.
2011-01-12 12:32:53 +00:00
pooka
0ba14b52f9 * run the killer stress test
* reduce default runtime to 5s
2011-01-12 11:39:20 +00:00
pooka
147af0c4be Give the stress queen two modes: one which nicely suggests an exit
and another one which keeps moet et chandon in her pretty cabinet.
2011-01-12 11:37:45 +00:00
pooka
8a712a9c10 Establish signal handler already in parent. Otherwise the child
might be killed before it has a chance to run.
2011-01-12 11:12:25 +00:00
wiz
472582feb5 mDNSResponder-258.14 out (and in pkgsrc). 2011-01-12 09:11:54 +00:00
haad
c73e2bf000 Use DM_DEVICE_CONTROL_MODE, because mapper/control device should have 660
and not 640 permissions.
2011-01-12 08:16:23 +00:00
nisimura
9fb96e0290 - remove duplicate an opt include line.
- restore a lost indent.
2011-01-12 07:38:43 +00:00
wiz
2f3e33b8d2 Spell out parenthesis. From Ryo HAYASAKA in PR 44372. 2011-01-12 06:17:52 +00:00
pgoyette
dd39eb51a9 Clean up some fallout from moving getaddrinfo test 2011-01-12 03:53:58 +00:00
pgoyette
7755b90bc1 Now that the test has been placed in its new location, remove it from
the old
2011-01-12 03:00:28 +00:00
pgoyette
893f5724c6 Hook up the getaddrinfo test in its new location 2011-01-12 02:59:16 +00:00
pgoyette
01a7ddb233 By request, put the getaddrinfo test in tests/lib/libc/net/ 2011-01-12 02:58:40 +00:00
jym
c7b98903de Introduce "vifname" keys for Xen domains. Its value is the interface
name for the vif, e.g. xvif(4) for dom0, and xennet(4) for domU.

ok bouyer@.

See http://mail-index.netbsd.org/port-xen/2011/01/11/msg006405.html
2011-01-11 23:22:19 +00:00
jruoho
013c599031 Restore the interrupt level in cpu_reboot() before calling the
acpi_enter_sleep_state() function.
2011-01-11 21:10:17 +00:00
jruoho
c2df94f224 Disable all GPEs when entering S5. Also add a comment that the function
acpi_enter_sleep_state() must be called with interrupts enabled.
2011-01-11 20:35:24 +00:00
jruoho
049e68f4dd Use pmf_device_register1(9) and add cpu_shutdown(), which calls cpu_suspend(). 2011-01-11 18:25:25 +00:00
pgoyette
d8ae15f3b3 The getqaddrinfo test has been atf-ified 2011-01-11 16:34:27 +00:00
pgoyette
f923271858 sets-list dance for getaddrinfo test 2011-01-11 16:31:32 +00:00
pgoyette
c177834af5 Atf-ify the getaddrinfo test, with updated "golden" output files. 2011-01-11 16:30:53 +00:00
tsutsui
bb43e1b7cf ANSIfy. 2011-01-11 16:19:38 +00:00
kefren
6469d79cd6 add advlock to rumpfs, ok pooka@ 2011-01-11 14:05:32 +00:00
kefren
2f07b81209 add advlock to puffs. ok pooka@
should fix kern/43321
2011-01-11 14:04:54 +00:00
kefren
eea5c39883 add test for kern/43321, blessed by pooka@ 2011-01-11 14:03:38 +00:00
jym
c3dcb3813f Fix my mistake: it is boot.cfg(5), not boot.conf 2011-01-11 13:46:47 +00:00
nisimura
30ae008b2a step forward to MODULAR sandpoint kernel. disabled until all work gets done. 2011-01-11 13:29:09 +00:00
gsutre
98737943bc As said in the comment (lines 327-336), we must make sure that
we don't overwrite valid data when moving the symbol and string
tables.

Assume for instance that the boot-loader left us with:

  +--------------+   +--------+     +--------------+
  | string table |   | kernel |     | symbol table |
  +--------------+   +--------+     +--------------+

The new addresses computed by lines 338-359 (here, it's really
lines 344-345) will move the tables so that they end up as:

                     +--------+--------------+--------------+
                     | kernel | symbol table | string table |
                     +--------+--------------+--------------+

The current version (rev. 1.20) will, however, first copy the
string table and then the symbol table.  But the copy of the
string table will overwrite the symbol table (see the pictures).

The old code (rev. 1.19) uses the right order of table copy to
make sure that we don't overwrite one table when moving the
other.  Here, we simply restore this behavior.  This makes
multibooting from GRUB2 work again (for MONOLITHIC).

ok jmcneill@
2011-01-11 12:24:37 +00:00
pooka
cc362f9900 Print some more info in an attempt to try to understand why the
test fails in automated test runs but not my desktop.
2011-01-11 11:26:28 +00:00
pooka
f6b3a097e6 +tests/net/net 2011-01-11 10:55:27 +00:00
pooka
8d1e86d12d Apply patch from PR kern/44369 by Wolfgang Stukenbrock. 2011-01-11 10:52:42 +00:00
pooka
68e1e43ec7 add test for PR kern/44369 2011-01-11 10:51:45 +00:00
pooka
0de1b73a11 KASSERT we don't return back to userspace with the kernel lock held. 2011-01-11 10:49:20 +00:00
wiz
f4518bc90a Wording, sort SEE ALSO. 2011-01-11 10:48:49 +00:00
wiz
7f6d1532f6 Remove trailing whitespace and reference to non-existent boot.conf(5). 2011-01-11 10:48:37 +00:00
wiz
03dc1370cc Fix typo, add serial comma, remova trailing space, sort SEE ALSO. 2011-01-11 10:48:05 +00:00
wiz
7733664897 Nitpicking. 2011-01-11 10:47:45 +00:00
nisimura
88e9af105e make sure to have 32B aligned descriptor array. 2011-01-11 10:10:48 +00:00