minix/servers/pm
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
..
alarm.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
break.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
const.h Fix a few compile time warnings 2010-07-02 12:41:19 +00:00
exec.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
forkexit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
getset.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
glo.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
main.c recognize and execute dynamically linked executables 2012-04-16 00:41:42 +00:00
Makefile Remove obsolete INSTALLFLAGS from makefiles 2012-02-16 23:26:38 +01:00
mcontext.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
misc.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
mproc.h Implement issetugid syscall 2011-11-28 10:03:43 +00:00
param.h exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
pm.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
profile.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
proto.h exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
schedule.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
signal.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
table.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
time.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
trace.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
type.h Removed 'system process' magic from PM and FS. 2005-05-13 08:57:08 +00:00
utility.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00