3494f31ad2
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 |
||
---|---|---|
.. | ||
imgact_linux.c | ||
linux_dummy.c | ||
linux_genassym.c | ||
linux_ipc64.h | ||
linux_locore.s | ||
linux_machdep.c | ||
linux_proto.h | ||
linux_ptrace.c | ||
linux_support.s | ||
linux_syscall.h | ||
linux_syscalls.c | ||
linux_sysent.c | ||
linux_systrace_args.c | ||
linux_sysvec.c | ||
linux.h | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |