freebsd-dev/sys/i386/ibcs2
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
..
coff.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_fcntl.c Improve *access*() parameter name consistency. 2011-11-19 06:35:15 +00:00
ibcs2_fcntl.h
ibcs2_ioctl.c In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
ibcs2_ipc.h
ibcs2_isc_syscall.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_isc_sysent.c Auto-generated code from sys_ prefixing makesyscalls.sh change 2011-09-16 14:04:14 +00:00
ibcs2_isc.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
ibcs2_misc.c In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
ibcs2_mount.h
ibcs2_msg.c
ibcs2_other.c In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
ibcs2_proto.h Regenerate system call tables. 2011-11-19 06:36:11 +00:00
ibcs2_signal.c In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
ibcs2_signal.h
ibcs2_socksys.c Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
ibcs2_socksys.h
ibcs2_stat.c Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h Regenerate system call tables. 2011-11-19 06:36:11 +00:00
ibcs2_sysent.c Regenerate system call tables. 2011-11-19 06:36:11 +00:00
ibcs2_sysi86.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
ibcs2_sysvec.c Extend struct sysvec with new method sv_schedtail, which is used for an 2011-03-08 19:01:45 +00:00
ibcs2_termios.h
ibcs2_time.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.c
ibcs2_util.h
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_xenix_syscall.h Regenerate system call tables to use SVN ids. 2009-05-08 20:16:04 +00:00
ibcs2_xenix_sysent.c Auto-generated code from sys_ prefixing makesyscalls.sh change 2011-09-16 14:04:14 +00:00
ibcs2_xenix.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
ibcs2_xenix.h Auto-generated code from sys_ prefixing makesyscalls.sh change 2011-09-16 14:04:14 +00:00
imgact_coff.c Fix misuse of the kernel map in miscellaneous image activators. 2012-02-17 23:47:16 +00:00
Makefile
syscalls.conf
syscalls.isc
syscalls.isc.conf
syscalls.master Improve *access*() parameter name consistency. 2011-11-19 06:35:15 +00:00
syscalls.xenix
syscalls.xenix.conf