Commit Graph

194354 Commits

Author SHA1 Message Date
pooka
ff08ca3b05 Zero entire stat structure before filling in contents to avoid
leaking kernel memory -- the elements are no longer packed now that
dev_t is 64bit.

from pgoyette
2010-10-28 20:32:45 +00:00
christos
cefc0995de PR/44006: Ralph G: vi: CTRL-A does not handle end-of-word correctly
End-of-word was not included in search regexp leading to false positives.
http://patches.ubuntu.com/by-release/extracted/debian/n/nvi/1.81.6-7/15search_word.dpatch
2010-10-28 18:12:47 +00:00
jruoho
b6050c6897 Be silent if we get a notification to tell us that we woke up the system. 2010-10-28 18:03:11 +00:00
jruoho
639d1b9782 Install EC space handler and pass everything to acpiec(4).
Should fix PR # 43659.
2010-10-28 15:55:04 +00:00
pooka
f128c061ef Run different clients (different sockets) in different processes
inside the rump kernel.  Now different host processes can no longer
step on each other inside the rump kernel.
2010-10-28 14:37:29 +00:00
jruoho
b39dfb61fd As the ACPI specification is already mentioned in acpi(4), remove the note
about STANDARDS. Instead mention a Microsoft document that is specifically
about acpivga(4). Also xref vga(4).
2010-10-28 14:36:04 +00:00
jruoho
7aeb582fb7 Correct section in xref. 2010-10-28 14:29:18 +00:00
seanb
49025bce19 Always use m_split() in m_copyback() instead of its
local, abridged, version.  This closes a window where
a new mbuf (n) can be inserted where n->m_next == n.
2010-10-28 14:21:50 +00:00
macallan
407cdd8a24 Use nap mode on 750-ish CPUs 2010-10-28 13:58:03 +00:00
pooka
2ca5613a5c Count proc0 as uid 0's process. Besides being the right thing to
do, this effectively allows changing the uid of proc0 without
running into KASSERT problems in uidinfo code (although I'm not
quite so sure changing proc0's uid is the right thing to do ...).

problem reported by njoly
2010-10-28 11:30:07 +00:00
jruoho
5bf78beea7 Bump to the right date. 2010-10-28 09:49:01 +00:00
jruoho
dc49246760 Xref CTASSERT(9). 2010-10-28 09:48:11 +00:00
jruoho
f97f79d20f Xref boothowto(8). 2010-10-28 09:44:58 +00:00
kiyohara
a15ff5666c Build ramdisk and floppies dir. 2010-10-28 08:32:30 +00:00
kiyohara
bcc52a5d12 Add kernel dir to SUBDIR. 2010-10-28 08:29:27 +00:00
jruoho
fcd284181f Fix a comment typo. 2010-10-28 04:28:29 +00:00
jruoho
a4915ab4db Only override data from XPSS if the conventional _PSS did not contain the
required information. Problem found and diagnosed by jakllsch@; on some AMD
systems vendors fill _PSS correctly, but do not duplicate the data in XPSS.
2010-10-28 04:27:40 +00:00
briggs
4be4af661b Bump SYMTAB_SPACE. 2010-10-28 03:30:22 +00:00
briggs
eb2df61ec3 Bump SYMTAB_SPACE for a few configurations. 2010-10-28 02:10:27 +00:00
macallan
3f7245fde9 adapt to how backlight control is supposed to work - just flip the switch and
we don't need to save the brightness level
2010-10-28 02:06:02 +00:00
pooka
993e75b0b4 remove obsolete tests 2010-10-27 20:46:54 +00:00
pooka
b1842c2201 Start rework of system call proxying over socket ("sysproxy").
This incarnation is written in the user namespace as opposed to
the previous one which was done in kernel namespace.  Also, rump
does all the handshaking now instead of excepting an application
to come up with the user namespace socket.

There's still a lot to do, including making code "a bit" more
robust, actually running different clients in a different process
inside the kernel and splitting the client side library from librump.
I'm committing this now so that I don't lose it, plus it generally
works as long as you don't use it in unexcepted ways: i've tested
ifconfig(8), route(8), envstat(8) and sysctl(8).
2010-10-27 20:44:49 +00:00
pooka
0f423ad930 "i build dead files". ok, so let's not. 2010-10-27 20:37:11 +00:00
pooka
297882358c regen:
- rump_sysproxy
+ rump_syscall
2010-10-27 20:35:47 +00:00
pooka
b2380889f3 Retire the old sysproxy nonsense (as part of doing it slightly better).
Introduce rump_pub_syscall() as the generic interface for making
system calls with already marshalled arguments.  So it's kinda like
syscall(2), except it also remembered to breathe instead of having
to figure out how to deal with 64bit values.
2010-10-27 20:34:50 +00:00
wiz
51a05c8628 Fix a typo and remove trailing whitespace. 2010-10-27 19:18:00 +00:00
christos
de19ef9132 markup improvements, document ctype_r, time_t is not a "long integer" 2010-10-27 19:16:04 +00:00
christos
2ec6e0f18a Handle > 2GB images. Thanks to Greg Troxel for testing! 2010-10-27 18:51:34 +00:00
martin
ca50e08b76 Update Rawrite32 to the latest version 2010-10-27 18:29:46 +00:00
martin
6075e8b9e3 Adapt to newer Rawrite32 version 2010-10-27 18:17:42 +00:00
pooka
d9a1fbfce1 Remove old crud which is no longer used (since kern_proc). 2010-10-27 15:50:03 +00:00
martin
7fc31def88 Update rawrite32 url 2010-10-27 14:41:46 +00:00
gsutre
f32ca0cfec Make acpi(4) debug aware of ACPI_DISPLAY_COMPONENT. 2010-10-27 14:39:26 +00:00
uebayasi
9150ddda9b Reserve an MI major for coming flash(4).
hpcmips defines one in MD majors, but it's not listed in
etc/etc.hpcmips/MAKEDEV.conf, so I assume actual files are never
created in users' filesystems.

Prompted By:	pooka
2010-10-27 14:08:08 +00:00
kiyohara
642f00631c Get and parse root-device. 2010-10-27 10:42:12 +00:00
kiyohara
5165d39f48 Set root-device to bootinfo. 2010-10-27 10:37:38 +00:00
kiyohara
6652e79aed Add macro BTINFO_ROOTDEVICE and struct btinfo_rootdevice.
And indent.
2010-10-27 10:33:23 +00:00
rmind
366aa69d08 do_posix_fadvise: check for a negative length; truncate the offset and
round the end-offset, not vice-versa.

Thanks to jakllsch@ for debug info.
2010-10-27 02:58:04 +00:00
wiz
83306973da Improve wording after consultation with njoly. 2010-10-26 22:34:33 +00:00
gsutre
af565a28d4 An _ADR object is not required for PCI root bridges. To solve
this, the structure acpi_pciinfo now tells whether the ACPI
device node is a PCI bridge, a regular PCI device, or both.

Problem reported by jmcneill@, who also suggested the solution.

ok jmcneill@, jruoho@
2010-10-26 22:27:44 +00:00
cegger
cd68b811ed Add diagnostic check which hits when PR 42455 is reproduced.
Idea from hans@
2010-10-26 11:44:53 +00:00
jruoho
85aafab84b Add LEN0014. (And to the previous commit; a driver for this, not PNP0C32, is
possibly coming.)
2010-10-26 09:13:54 +00:00
jruoho
4e313088ed Regen. 2010-10-26 08:59:06 +00:00
jruoho
91c0c3fd42 Add more identifiers for ATM chips.
Also add PNP0C32 for "quickstart buttons". A driver for this comes later.
2010-10-26 08:57:46 +00:00
jruoho
dfc6c7a7ff Remove some unused (ACPI) constants. 2010-10-26 07:54:12 +00:00
jruoho
e2fa7d0097 Add asus(x) and hpqlb(4). 2010-10-26 05:42:51 +00:00
jruoho
a2a33b95b3 Build asus(x) and hpqlb(4) as modules on x86. 2010-10-26 05:36:49 +00:00
jruoho
6fdfbe79c2 Add support for module(9). 2010-10-26 05:28:29 +00:00
jruoho
871220a39a Add wskbd_hotkey_deregister() to match wskbd_hotkey_register().
XXX: This is kind of futile; the only user of the wskbd(4)'s hotkey interface
     is hpqlb(4), which is a questionable driver, being, by design,
     limited only to the laptop model for which the driver was written.
2010-10-26 05:12:34 +00:00
jruoho
8eae6f006a Bump WARNS to 4. 2010-10-26 04:37:33 +00:00