Go to file
Ben Gras 040362e379 exec() cleanup, generalization, improvement
. make exec() callers (i.e. vfs and rs) determine the
	  memory layout by explicitly reserving regions using
	  mmap() calls on behalf of the exec()ing process,
	  i.e. handling all of the exec logic, thereby eliminating
	  all special exec() knowledge from VM.
	. the new procedure is: clear the exec()ing process
	  first, then call third-party mmap()s to reserve memory, then
	  copy the executable file section contents in, all using callbacks
	  tailored to the caller's way of starting an executable
	. i.e. no more explicit EXEC_NEWMEM-style calls in PM or VM
	  as with rigid 2-section arguments
	. this naturally allows generalizing exec() by simply loading
	  all ELF sections
	. drop/merge of lots of duplicate exec() code into libexec
	. not copying the code sections to vfs and into the executable
	  again is a measurable performance improvement (about 3.3% faster
	  for 'make' in src/servers/)
2012-06-07 15:15:01 +02:00
benchmarks Fixed unixbench Run script 2010-10-25 08:32:14 +00:00
bin Import NetBSD cat(1) 2012-03-14 16:54:30 +01:00
commands vm: add third-party mmap() mode and PROCCTL 2012-06-07 12:43:16 +02:00
common libarchive import 2012-05-02 13:31:48 +02:00
dist/bzip2 import NetBSD bzip2 and libbz2 2011-11-18 11:11:04 +01:00
docs set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
drivers set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
etc vm: add third-party mmap() mode and PROCCTL 2012-06-07 12:43:16 +02:00
external set major version of shlibs to 0 2012-05-10 16:38:24 +02:00
include exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
kernel exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
lib exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
libexec AT_SUN_EXECNAME support 2012-04-26 13:32:39 +02:00
man Add a simple utility to send control messages 2012-04-13 12:58:41 +00:00
sbin Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
servers exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
share no USE_BOOTPARAM 2012-05-31 01:13:27 +02:00
sys Import NetBSD usr.bin/login 2012-04-11 20:02:15 +02:00
test test43: fix dangling-symlink case 2012-05-02 17:39:58 +02:00
tools only elf/multiboot images 2012-05-31 00:58:44 +02:00
usr.bin build shared versions of libraries 2012-04-16 05:21:20 +02:00
usr.sbin release fixes 2012-04-17 16:58:58 +02:00
.gitignore build shared versions of libraries 2012-04-16 05:21:20 +02:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile libarchive import 2012-05-02 13:31:48 +02:00