freebsd-dev/sys
Konstantin Belousov 3494f31ad2 Fix misuse of the kernel map in miscellaneous image activators.
Vnode-backed mappings cannot be put into the kernel map, since it is a
system map.

Use exec_map for transient mappings, and remove the mappings with
kmem_free_wakeup() to notify the waiters on available map space.

Do not map the whole executable into KVA at all to copy it out into
usermode.  Directly use vn_rdwr() for the case of not page aligned
binary.

There is one place left where the potentially unbounded amount of data
is mapped into exec_map, namely, in the COFF image activator
enumeration of the needed shared libraries.

Reviewed by:   alc
MFC after:     2 weeks
2012-02-17 23:47:16 +00:00
..
amd64 Refine r231791. Install the resume event handler unconditionally. 2012-02-16 22:28:17 +00:00
arm Add C11 macros describing subnormal numbers to float.h. 2012-01-23 06:36:41 +00:00
boot Make sure to synchronize icache for the newly loaded loader. Not an issue 2012-02-16 03:27:38 +00:00
bsm
cam Limit the ST3146855LW U320 drive to 55 tags to avoid command timeouts 2012-02-15 07:30:23 +00:00
cddl Revert r230913 and r230914. 2012-02-03 13:40:51 +00:00
compat Fix misuse of the kernel map in miscellaneous image activators. 2012-02-17 23:47:16 +00:00
conf Merge ACPICA 20120215. 2012-02-16 22:59:29 +00:00
contrib IFC @231845 2012-02-17 00:27:48 +00:00
crypto Add support for the extended FPU states on amd64, both for native 2012-01-21 17:45:27 +00:00
ddb Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
dev Fix regression in the handling of blkback close events for 2012-02-17 22:33:46 +00:00
fs IFC @231845 2012-02-17 00:27:48 +00:00
gdb kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
geom Add additional check to EBR probe and create methods: 2012-02-15 10:33:29 +00:00
gnu/fs Use new OSS-based BSD-licensed header for cs sound driver. 2012-02-01 21:38:01 +00:00
i386 Fix misuse of the kernel map in miscellaneous image activators. 2012-02-17 23:47:16 +00:00
ia64 Rev. 228360 moved the call to cpu_set_upcall() to happen before 2012-02-08 04:05:38 +00:00
isa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
kern Fix misuse of the kernel map in miscellaneous image activators. 2012-02-17 23:47:16 +00:00
kgssapi Add missing break statement to make sure all 3DES etypes really are treated 2011-10-10 09:13:07 +00:00
libkern Implement extensions on top of standards instead of the other way around. 2012-01-03 07:05:30 +00:00
mips When initialising the CP0 status register during boot on 64-bit MIPS, 2012-02-14 20:34:25 +00:00
modules Merge ACPICA 20120215. 2012-02-16 22:59:29 +00:00
net IFC @231845 2012-02-17 00:27:48 +00:00
net80211 Correct the 802.11s mesh configuration structure and related tidbits. 2012-02-13 07:47:36 +00:00
netatalk Convert all users of IF_ADDR_LOCK to use new locking macros that specify 2012-01-05 19:00:36 +00:00
netgraph Refactor the name hash and the ID hash, that are used to address nodes: 2012-02-16 19:10:01 +00:00
netinet IFC @231845 2012-02-17 00:27:48 +00:00
netinet6 Allow to provide a hint to in6_selectsrc() for the interface using the 2012-02-14 11:51:32 +00:00
netipsec Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
netipx Convert all users of IF_ADDR_LOCK to use new locking macros that specify 2012-01-05 19:00:36 +00:00
netnatm
netncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
netsmb Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
nfs Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
nfsclient IFC @231845 2012-02-17 00:27:48 +00:00
nfsserver Honor NFSv3 commit call (RFC 1813, Section 3.3.21) where when count is 0, 2011-12-15 02:26:53 +00:00
nlm jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 2012-01-31 02:11:05 +00:00
ofed Remove spurious 8bit chars, turning files into plain ASCII. 2012-01-15 13:23:54 +00:00
opencrypto
pc98 Remove full debugger options and enable KDB_TRACE option instead to decrease 2012-02-09 14:15:56 +00:00
pci To save more power, switch to 10/100Mbps link when controller is 2011-11-23 23:29:18 +00:00
powerpc Improve error handling in smusat(4). 2012-02-15 16:59:24 +00:00
rpc Both a crash reported on freebsd-current on Oct. 18 under the 2011-11-03 14:38:03 +00:00
security Remove direct access to si_name. 2012-02-10 12:35:57 +00:00
sparc64 As it turns out r227960 may still be insufficient with PREEMPTION 2012-01-28 22:42:33 +00:00
sys Add a timestamp to the msgbuf output in order to determine when when 2012-02-16 05:11:35 +00:00
teken Link the demo application against ncursesw to make Unicode work. 2011-10-13 14:20:27 +00:00
tools Restore the comment that I removed by accident. 2011-11-09 13:26:59 +00:00
ufs Missing conditions in checking whether an inode has been written. 2012-02-13 01:33:39 +00:00
vm When vm_mmap() is used to map a vm object into a kernel vm_map, it 2012-02-16 06:45:51 +00:00
x86 Fix a few bugs in the SRAT parsing code: 2012-01-03 20:53:58 +00:00
xdr
xen Fix "_" vs. "-" typo in a comment. No functional changes. 2012-02-16 21:47:17 +00:00
Makefile Improve the cscope target's handling of MD directories. Automatically 2012-01-03 17:31:27 +00:00