Commit Graph

189639 Commits

Author SHA1 Message Date
ad
78f9946c6b Fix copyrights. 2010-03-31 19:59:39 +00:00
pooka
b433d14156 add necessary build bucatini for kernfs tests 2010-03-31 19:18:39 +00:00
pooka
986be8ce69 Add some basic tests for kernfs (getdents & changing hostname).
Per a "mad \"scientist\"" experiment, on i386 load kernfs support
from the installed kernel module instead of linking the driver in.
2010-03-31 19:14:30 +00:00
ad
7a8df643c4 KNF FTW 2010-03-31 19:07:32 +00:00
pooka
d1c9da6dac Create kern.hostname sysctl node. Using init_sysctl.c for creating
the nodes requires some weeding, so don't try to use it yet.
2010-03-31 18:56:07 +00:00
njoly
055c56a77b Use tp-glob keys when requesting for test pattern. 2010-03-31 18:40:26 +00:00
njoly
d7b0a6276c The Atffile tp/tp-glob keys does not allow more than one word. Put new
union value on its own line.
2010-03-31 18:37:06 +00:00
macallan
ab2f46a1d0 Add preliminary support for the ADM1031 found in the Sun Blade 2500 and similar
machines. For now we treat it like an ADM1030 - the only difference is the
device ID and a few previously reserved registers.
2010-03-31 18:07:13 +00:00
skrll
944fd2cfc4 2 RCSIDs are enough for anyone. 2010-03-31 17:46:21 +00:00
jruoho
ff4f6357cf Add the "Linkers and Loaders" to SEE ALSO. 2010-03-31 16:52:03 +00:00
joerg
7b1fd4e47e Make eval a local variable. 2010-03-31 15:01:51 +00:00
joerg
21a8c61ac7 ANSIfy. Sprinkle static. 2010-03-31 15:01:02 +00:00
pooka
f53fd22c3c fix typo (at least it was in an error string instead of a comment) 2010-03-31 14:54:07 +00:00
pooka
be33b37b2e regen 2010-03-31 14:49:46 +00:00
pooka
5e15c7d5fc MAP_COPY is available only in _KERNEL .... uh, so don't use it here. 2010-03-31 14:49:02 +00:00
pooka
5fb5ff121c Add note saying that the manual page is autogenerated and all parts
may not apply to this particular server.

TODO: have three different texts, one for device backed file systems
(e.g. ffs), another for network backed (e.g. nfs), and a third for
fictional (e.g. kernfs)
2010-03-31 14:45:59 +00:00
pooka
e83b6a1151 generate 2010-03-31 14:33:37 +00:00
pooka
bde226973a Add kernfs server.
Don't build & install it by default, since it represents the state
of the rump virtual kernel and not the host kernel.  However, it's
useful for debugging kernfs.
2010-03-31 14:22:27 +00:00
pooka
aaf84901aa +rumpfs_kernfs 2010-03-31 14:21:22 +00:00
pooka
9e9ab330be support kernfs 2010-03-31 14:18:33 +00:00
tsutsui
8f232399f0 Misc KNF and cosmetics. 2010-03-31 14:12:55 +00:00
pooka
1b840b2df1 separate vfs-like components from actual drivers
(no functional change)
2010-03-31 14:12:33 +00:00
pooka
59e540bbd0 We don't have a real rootdev (by default at least), so set it to NODEV. 2010-03-31 14:08:33 +00:00
pooka
4ec51947cc convert to parseargs 2010-03-31 13:33:14 +00:00
tsutsui
9955f57940 ANSIfy, some KNF. 2010-03-31 13:15:52 +00:00
pooka
3bc1bb4f0e initialize canon_dev 2010-03-31 13:10:10 +00:00
skrll
b47f9dd06a Make cpl, ipending, and intr_depth per CPU values. 2010-03-31 12:56:14 +00:00
pgoyette
b96bf61fb6 Now that fw_port.h is gone, we need to directly include <sys/select.h>
Fixes build break reported by myself.
2010-03-31 12:17:01 +00:00
pooka
bca98ac3f6 set kernel boottime 2010-03-31 12:16:15 +00:00
pooka
9ad78fb4c9 * initialize msgbuf
* for banner, use aprint_verbose instead of if (verbose) printf
2010-03-31 11:35:33 +00:00
roy
dfa7c1a372 Note import of dhcpcd-5.2.2 2010-03-31 09:21:43 +00:00
roy
72889e7367 Import dhcpcd-5.2.2 with the following changes:
* Don't send a maximum DHCP message size beyond what we can handle.
* ip_id is now randomized.
* IPTOS_LOWDELAY and IP_DF flags are no longer set.
2010-03-31 09:14:47 +00:00
tls
4e65861033 Don't hold kernel lock across call to ip_input() -- it blocked *all*
hardware interrupts for the length of time it took for all dequeued
packets to flow up the stack (on multiprocessors only).  Initial testing
shows performance impact is minimal -- since this temporary fix actually
means taking/releasing the kernel lock per-packet, that seems
acceptable.

Holding the kernel lock across the ip_input() call duplicated the
exclusion intended to be provided by the socket locks/softnet lock
(same lock, for INET/INET6 sockets) and could mask serious bugs.  Several
hours' testing didn't turn any up but I'd be surprised if some don't now
appear.

Damon Permezel noticed the problem.  Temporary fix suggested by matt@.
2010-03-31 07:31:15 +00:00
skrll
061c4b41cb Whitespace. 2010-03-31 06:40:30 +00:00
skrll
03eb22ecf7 #define<tab> 2010-03-31 06:35:12 +00:00
macallan
38fe6d6284 Do as OpenSolaris does and read the status register after each write.
Now this driver works on my Blade 2500.
2010-03-31 05:09:41 +00:00
joerg
a26d6af163 Kill stray t. 2010-03-31 04:17:23 +00:00
pooka
19599ea184 If msgbuf is not enabled, do not report the node in readdir. That
way ls -l won't report funny errors because getattr for a readdir
result fails.

XXX: lookup for msgbuf still succeeds even if not enabled
2010-03-31 01:27:05 +00:00
dyoung
2cb6d7b338 Include more sources in the tags target. Don't compute tags on some
non-existent assembly-language files.
2010-03-31 00:00:33 +00:00
martin
9174b80259 Do not bother to ask the user for CD details (like device name or path
on the CD) if we can find CDs (i.e. media, not drives) automagically
and check the standard paths on it.

If we find multiple CDs, offer a menu to select showing the volume
name. If something goes wrong, fall back to the manual input method.

In typical installs this makes us just proceed with extracting the sets
after selecting "install from CD/DVD", w/o any further interaction.

As a side effect fixes PR 43012.
XXX new messages need translations.
2010-03-30 20:09:25 +00:00
skrll
0b76114e29 Comments against #endifs. 2010-03-30 19:54:28 +00:00
skrll
a4710ab9c3 Whitespace. 2010-03-30 19:38:52 +00:00
skrll
1a1da55a23 Whitespace. 2010-03-30 19:27:54 +00:00
joerg
cd633b37f3 Update for libarchive 2.8.2 2010-03-30 14:43:06 +00:00
tnn
014ac6d91a yinterrupt -> interrupt 2010-03-30 14:38:27 +00:00
joerg
44f960014f \\ -> \e 2010-03-30 14:26:55 +00:00
joerg
d87aa4973c Fix \\ encoding 2010-03-30 14:26:16 +00:00
joerg
ccefd0e16a Kill non-existent macros. 2010-03-30 14:13:49 +00:00
joerg
104dbdf3ec Assume o umlaut is transliterated by nroff as needed.
\\ -> \e
2010-03-30 14:07:50 +00:00
joerg
4a90fd399e \\ -> \e 2010-03-30 14:05:32 +00:00