207825 Commits

Author SHA1 Message Date
christos
35a585027b Improve returns description from Solar Designer. 2012-01-01 23:18:51 +00:00
reinoud
d8d4ad078a Rewrite usermodes pmap to use indirect adressing significantly reducing pmap
memory usage. Typically a decimation. This is done using L1 and L2 mappings.
2012-01-01 21:40:22 +00:00
skrll
e51a4c0759 When converting a floating value to an integer, properly raise the "invalid"
exception when the floating value is infinite or NaN or if the integral part
of the floating value exceeds the range of the integer type, as required by
the C99/IEEE754 standard.

Fixes Python 2.6 build on hppa.

From OpenBSD.
2012-01-01 20:04:36 +00:00
rkujawa
a7bcbbf244 Note the fact that wsmoused will work only with some wsdisplay drivers. 2012-01-01 19:12:17 +00:00
phx
e3c0375306 Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
and ath(4)).
2012-01-01 18:25:03 +00:00
tteras
2713c54c73 From Rainer Weikusat <rweikusat@mobileactivedefense.com>: Fix one byte too
short memory allocation in isakmp_unity.c:splitnet_list_2str().
2012-01-01 17:31:42 +00:00
tteras
11e30c248c From Wolfgang Schmieder <wolfgang@die-schmieders.de>: Fix default NAT-T
port for listen { isakmp_natt } config directive.
2012-01-01 16:14:11 +00:00
tteras
40d768bf75 From Wolfgang Schmieder <wolfgang@die-schmieders.de>: Fix various typos in
comments and log messages. Fix default port used in copy_ph1addresses().
2012-01-01 15:57:31 +00:00
tteras
dbe8969919 Fix myaddr_getsport() to return -1 if no suitable address is found. This is
used in pfkey.c:pk_recvacquire() to check if IKE negotiation should be
started or not.
2012-01-01 15:54:51 +00:00
tteras
838cfe4724 Fix the previous commit. 2012-01-01 15:44:06 +00:00
dholland
9d4234ad6c Add <sys/types.h> to <sys/quota.h> or the latter doesn't compile on
its own.
2012-01-01 15:41:16 +00:00
tteras
b448c51c51 From Wolfgang Schmieder <wolfgang@die-schmieders.de>: Fix memory leaks from
configuration reading code, and clean up error handling.
2012-01-01 15:29:28 +00:00
phx
c3ed2ca16a Add the description for the "mem:<address>" bootname. 2012-01-01 14:48:40 +00:00
phx
2be27e0188 Add Iomega StorCenter. 2012-01-01 14:16:41 +00:00
reinoud
6fb92c8edf Fix typo in comment 2012-01-01 13:52:51 +00:00
reinoud
768a37be48 According to the pmap manpage wired pages should not track RWM, so map them RW 2012-01-01 13:52:13 +00:00
wrstuden
2f786af8b7 Tweak white space so I get my annual commit. 2012-01-01 01:19:20 +00:00
riz
c1792eb47d Welcome to 2012, Happy New Year!
Don't forget to adjust copyright date in new code.
2012-01-01 00:00:30 +00:00
christos
6aaa2a926a include stddef.h for offsetof 2011-12-31 22:42:25 +00:00
riz
99370de066 According to most other OSes and documentation sources, an MBR has
one "extended" partition and the partitions inside that are "logical"
partitions.  Make fdisk(8) man page follow suit.

Patch from Julian Fagir in PR#45695.
2011-12-31 22:18:56 +00:00
christos
5ad9380e95 Adjust prototypes. 2011-12-31 21:31:15 +00:00
christos
9df65c7736 - fix syscall error returns
- fix clobbered errno
- use warn instead of perror
- use ssize_t consistently
- retry on EINTR and EAGAIN
2011-12-31 21:29:12 +00:00
christos
5ad8aadb1b pass ${COPTS} to the build of thunk.c so that it builds on amd64. 2011-12-31 21:24:07 +00:00
riz
a2c9f31b16 Belatedly note hannken's addition of sparse file support to vnd(4) from
June.
2011-12-31 20:56:05 +00:00
christos
42c420856f - fix offsetof usage, and redundant defines
- kill pointer casts to 0
2011-12-31 20:41:58 +00:00
riz
df7c01333c Fix typos and style glitches. Remove outdated info about only
Ethernet, SLIP, and PPP being supported, and no network types with
variable-length headers (such as 802.11).
Document BIOCSRSIG and BIOCGRSIG.

From Guy Harris in PR#40703.
2011-12-31 20:16:41 +00:00
jakllsch
cf050eee1a +uipad 2011-12-31 15:01:06 +00:00
reinoud
704c3d0ee6 Move the thunk_rfb_send_pending() up to where it belonged. It could disconnect
AND event could be NULL while it still would need to send... i.e. the barrier
in vncfbcopyrows()
2011-12-31 12:57:12 +00:00
reinoud
a2f3919615 Implement safe_recv() in analog to save_send() to make sure we don't miss
bytes along and mess up the protocol.
2011-12-31 12:38:56 +00:00
skrll
7093284c3d Fix the usage/help for mach frame. 2011-12-31 08:34:49 +00:00
rkujawa
3bfeb95c96 Fix panic triggered by pressing the caps lock key:
http://c0ff33.net/drop/bt_caps_panic.jpg

OK'd mrg.
2011-12-31 01:16:09 +00:00
christos
afd29d767a add uipad 2011-12-31 00:11:20 +00:00
christos
b5fe2e70e9 Add an ipad 2011-12-31 00:10:06 +00:00
christos
bc2683d5b7 Regen 2011-12-31 00:09:11 +00:00
christos
7d7fcac760 Add a tiny driver that sends the magic command to an ipad instructing it
to charge.
2011-12-31 00:08:48 +00:00
reinoud
39df809ed3 Add template code for a client driven display update request. This is
currently not possible since its event parameter is not allways passed.
2011-12-30 21:14:58 +00:00
christos
8e0d3d5d89 Avoid panic on DIAGNOSTIC kernels with ktrace -p <not-existing-process>
The old logic was:

	error = ktrace_common(, fp);
	if (fp)
		if (error)
			fd_abort(, fp, );
		else
			fd_abort(, NULL, );

The 'if (fp)' portion really means if the op is not KTROP_CLEAR,
since the logic above always sets up fp otherwise, so change the
code to test this directly.

ktrace_common() can return an error both on the kernel thread
creation failure, which means that we should be calling fd_abort()
with fp, since nobody used the file yet and we should clear it now.
But it can also return an error because later, after the thread
creation if the process or process group was not found. In this
second case, we should be calling fd_abort with NULL, since the fp
is now used by the thread and it is going to clean it later. So
instead of checking the error from ktrace_common() to decide if we
are going to call fd_abort() with a NULL fp or not, let krace_common()
decide for us.  So the new logic becomes:

	error = ktrace_common(, &fp);
	if (op != KTROP_CLEAR)
		fd_abort(, fp, );

Since I am here, fix a freed memory access, by setting ktd to FALSE.
2011-12-30 20:33:04 +00:00
macallan
d75d9f025e add some register definitions 2011-12-30 20:11:23 +00:00
jmcneill
e3b27f0cbb add wsmouse support 2011-12-30 20:08:36 +00:00
jmcneill
e89b0052a0 report rfb pointer events 2011-12-30 20:08:00 +00:00
jmcneill
45276cf976 add mmap support 2011-12-30 19:32:32 +00:00
jmcneill
1a7924eb90 provide pmap_phys_address 2011-12-30 19:30:59 +00:00
cherry
b83ccb0e45 Never cut-paste code from email!
Use the right count (0 -> 2) of l3 unshared userland entries for per-cpu initialisation.
2011-12-30 19:18:35 +00:00
christos
4df396b653 prevent kernel from writing more than userland passed. 2011-12-30 19:01:07 +00:00
christos
ca47c3c4e6 PR/45760: Henning Petersen: Add Adaptec29329LPE to ahd_pci.c 2011-12-30 18:20:46 +00:00
cherry
d827fd25ea Force pae l3 page allocation for new vcpus to be < 4G, so they fit in 32bits 2011-12-30 18:01:20 +00:00
cherry
1f285b3396 Move the per-cpu l3 page allocation code to a separate MD function. Avoids code duplication for xen PAE 2011-12-30 17:57:49 +00:00
cherry
d12f2f3b2f per-cpu shadow directory pages should be updated locally via cross-calls. Do this. 2011-12-30 16:55:21 +00:00
macallan
386d286bb9 this should have been committed along with the previous changes in
radeonfb.c
2011-12-30 14:32:31 +00:00
jmcneill
869f56b4be no need to poll for pending drawing ops if no client is connected 2011-12-30 14:22:41 +00:00