Commit Graph

127986 Commits

Author SHA1 Message Date
phk
b635902443 It so happens that everything that is stupid is not unconstitutional.
-- Supreme Court Justice Antonio Scalia
2006-10-23 13:25:17 +00:00
ru
dcc4e06e70 Move "device splash" back to MI NOTES and "files", it's MI. 2006-10-23 13:23:14 +00:00
ru
391b4a791b Move MI parts of syscons into MI "files". 2006-10-23 13:05:01 +00:00
ru
bc1ba9dbff If not compiled for debugging, redirect standard input/output/error
to /dev/null before becoming a daemon.
2006-10-23 10:48:19 +00:00
ru
73b959b47b Revision 1.25 had the ATKBD_DFLT_KEYMAP option turned on and then off:
: # Options for atkbd:
: options        ATKBD_DFLT_KEYMAP       # specify the built-in keymap
: makeoptions    ATKBD_DFLT_KEYMAP=jp.106
[...]
: nooption       ATKBD_DFLT_KEYMAP
: nomakeoption   ATKBD_DFLT_KEYMAP

(Previously the option was inherited from MI NOTES.)  So my tool in
rev. 1.26 reduced this to removing all "ATKBD_DFLT_KEYMAP" lines,
leaving the option effectively disabled as it was before, but since
it's actually supported on sparc64, turn it on now.
2006-10-23 10:05:36 +00:00
ru
5924f811d0 Mechanically kill redundant nodevice/nooption/nomakeoption, i.e.,
those that do not exist in MI NOTES or switched on/off in the MD
NOTES.
2006-10-23 09:45:22 +00:00
des
588896718b Re-add screen savers, which I removed by mistake.
Noticed by:	ru
2006-10-23 08:38:42 +00:00
kib
e6083a98d8 Revert the rev. 1.4, it causes breakage on most arches except i386.
Remove the const qualifier from ap argument for __v2printf, that induced
that breakage, and seems to be the real reason for bad code. ap is modified
inside the __v2printf body by va_arg macro.

Pointy hat to:	kib
Approved by:	pjd (mentor)
2006-10-23 07:25:25 +00:00
alc
f395a2d02c The page queues lock is no longer required by vm_page_wakeup(). 2006-10-23 05:27:31 +00:00
delphij
d95f4fb5ef Synchronize pf.os with OpenBSD.
Obtained from:	OpenBSD
MFC After:	3 days
Approved by:	mlaier (maintainer)
2006-10-23 05:09:44 +00:00
marcel
9f9cb15f4e o Eliminate nexus_print_resources(). Use resource_list_print_type()
instead.
o  Eliminate nexus_print_all_resources(). Inline the function body
   in nexus_print_child().
2006-10-23 00:38:58 +00:00
mlaier
2fda6e11e9 net80211 seems to give us more rates than specified via ic_sup_rates under
yet to be investigated circumstances. If that happens truncate to the number
of rates that the firmware supports.

Found by:	Jeremie Le Hen
Obtained from:	OpenBSD (w/ changes)
MFC after:	3 days
2006-10-23 00:34:07 +00:00
imp
d928160750 Don't descend into at91 until we sort out the boot loader issues more generally 2006-10-23 00:05:28 +00:00
emaste
4da6679580 Clarify that the input hook requires binary packet data. Instead of
referencing an omitted example, include a short (Perl) example that
queues an ICMP Echo message.
2006-10-22 21:33:57 +00:00
alc
5d9c66a3f8 The page queues lock is no longer required by vm_page_busy() or
vm_page_wakeup().  Reduce or eliminate its use accordingly.
2006-10-22 21:18:48 +00:00
phk
cc74fcabb4 Add two new functions to convert FAT filesystem format timestamps
to and from struct timespec, to replace the crummy conversion
function which have been copy&pasted into three different
filesystems already.

Apart from general crummyness as indicated by code like:

	for (year = 1970;; year++) {
		inc = year & 0x03 ? 365 : 366;
		if (days < inc)
			break;
		days -= inc;
	}

They also contain specialized crummyness which tries to compensate
for the general crummyness by caching recent conversion results,
with no regard for locking or consistency.

These replacement functions are smaller, O(1) and handle the Y2.1K
leap-year correctly.

Ideally, these functions should live in a module of their own,
which the three offending filesystems would depend on, but the
size is 877 bytes of code (on i386), so that would be false
economy.
2006-10-22 18:19:08 +00:00
ru
fd37d7b5f5 Fix ttyv* device names.
PR:		docs/104376
Submitted by:	Michael Le Barbier
MFC after:	3 days
2006-10-22 18:02:01 +00:00
hrs
1b1b112c84 Suppress a spurious warning message when a kernel without INET6 is
used.

Spotted by:	ru
Reviewed by:	ume
MFC after:	3 days
2006-10-22 17:21:03 +00:00
delphij
48a3918d59 Fix build: remove (now) unnecessary PG_BUSY check, it's handled by vm object locking. 2006-10-22 16:33:43 +00:00
ru
b9943f47d2 Fix some typos and grammar.
PR:		docs/66770
Submitted by:	Michel Lavondès
MFC after:	3 days
2006-10-22 16:21:55 +00:00
rwatson
7beaaf5cd2 Complete break-out of sys/sys/mac.h into sys/security/mac/mac_framework.h
begun with a repo-copy of mac.h to mac_framework.h.  sys/mac.h now
contains the userspace and user<->kernel API and definitions, with all
in-kernel interfaces moved to mac_framework.h, which is now included
across most of the kernel instead.

This change is the first step in a larger cleanup and sweep of MAC
Framework interfaces in the kernel, and will not be MFC'd.

Obtained from:	TrustedBSD Project
Sponsored by:	SPARTA
2006-10-22 11:52:19 +00:00
alc
cbcb760109 Replace PG_BUSY with VPO_BUSY. In other words, changes to the page's
busy flag, i.e., VPO_BUSY, are now synchronized by the per-vm object
lock instead of the global page queues lock.
2006-10-22 04:28:14 +00:00
alc
ab1a7ca9a2 Eliminate unnecessary PG_BUSY tests. 2006-10-22 04:18:01 +00:00
kevlo
94bc2d7409 Initialize T1 to silent gcc warning.
Approved by: cognet
2006-10-22 02:19:33 +00:00
davidxu
5bbfc34004 Use macro TAILQ_FOREACH_SAFE instead of expanding it. 2006-10-22 00:09:41 +00:00
davidxu
df9c81e665 Since revision 1.333 of kern_sig.c no longer uses P_WEXIT, the change
opened a race window which can cause memory leak in signal queue.
Here we free memory for signal queue when process state is set to
PRS_ZOMBIE.
2006-10-21 23:59:15 +00:00
ru
28e979171a - Document the default disk block usage unit.
- Add option -h, human-readable output.

PR:		docs/53732
2006-10-21 23:57:38 +00:00
imp
83009d5ef8 MFp4: default to not loading the fpga 2006-10-21 22:51:21 +00:00
imp
42aaacd596 MFp4: Update to smaller code footprint. 2006-10-21 22:44:26 +00:00
imp
824e6015c6 MFp4: Move to smaller code footprint. 2006-10-21 22:43:39 +00:00
imp
ceb6dbfdd1 MFp4: Move to smaller code. This was somehow forgotten before. 2006-10-21 22:43:07 +00:00
alc
7d7a43f1b4 Eliminate unnecessary PG_BUSY tests. They originally served a purpose
that is now handled by vm object locking.
2006-10-21 21:02:04 +00:00
scottl
4aba678223 There seems to be a problem with txcsum and UDP. Turn it off until it is
understood better.  This fixes timeout problems with NFS.
2006-10-21 20:41:08 +00:00
simon
16797e6408 Minor markup fix: A comma should be seperated by space from macro
argument.  This resulted in "pwritev,()" instead of the intended
"pwritev()," in the output.

MFC after:	3 days
2006-10-21 20:36:50 +00:00
ru
ebcbf2084a Make it clear that section 8 also documents system management
procedures, not necessarily commands.

PR:		docs/35011
Obtained from:	NetBSD (partly)
2006-10-21 20:35:49 +00:00
ru
26eb288875 Comment out the first paragraph; while it tells the true (we're using
the old BSD config(8) utility in FreeBSD), it does not look good.

PR:		docs/100328
2006-10-21 20:09:51 +00:00
ru
dbd4000a6b Small fixes. 2006-10-21 18:05:55 +00:00
marcel
0e4a74aceb Better handle the -F case:
o  When stat(2) fails (i.e. the file has been moved) there's no new
   file with the same name yet, so keep showing the file that's open.
   This yields the same behaviour as -f, for which we don't stat(2).
o  When a new file with the same name has been created (i.e stat(2)
   succeeds but the inode or device numbers differ from the opened
   file), show any new lines in the opened file (i.e. the old or
   rotated file) before reopening the new file.

These changes fix the observed behaviour that tail(1) doesn't show
the very last lines of the rotated (log) files.

PR: bin/101979
Tested by: Jos Backus <jos@catnook.com>
MFC after: 2 months
2006-10-21 18:05:06 +00:00
ru
0d077208a7 Bump document date for previous revision. 2006-10-21 18:04:42 +00:00
ru
7b9340e614 Spelling. 2006-10-21 18:04:20 +00:00
ru
85a0824042 Avoid a potential hard sentence break. 2006-10-21 18:03:53 +00:00
ru
fc876fdc9e Bump document date for the previous change. 2006-10-21 17:39:35 +00:00
jmg
d571cf9da2 Turn on gdbserver for the arch that supports it.. 2006-10-21 17:27:36 +00:00
ru
c33f5fb2d6 Revise the markup, sort sections, fix some grammar bugs.
Not fixed: the description of media-type is completely bogus.
2006-10-21 17:15:11 +00:00
ru
3bdce07112 Bump document date for the previous change. 2006-10-21 16:08:21 +00:00
ru
74f55726c1 Fix .Dd arguments. 2006-10-21 16:02:42 +00:00
maxim
993b54a4b0 o Fix typo.
Obtained from:	DragonFlyBSD
MFC after:	1 week
2006-10-21 15:12:36 +00:00
ru
cfa2a09bd5 Record the pccardc death. 2006-10-21 14:19:52 +00:00
bmah
0efe114a99 MFCs noted: libpcap 0.9.4, tcpdump 3.9.4. 2006-10-21 14:06:34 +00:00
ru
f997b49701 MFi386: 1.13: Fix booting with ps2 keyboards. 2006-10-21 12:52:46 +00:00