genode/base/include/base
Norman Feske b45242c50f Add chroot support to core
Since the recent move of the process creation into core, the original chroot trampoline
mechanism implemented in 'os/src/app/chroot' does not work anymore. A
process could simply escape the chroot environment by spawning a new
process via core's PD service. Therefore, this patch moves the chroot
support into core. So the chroot policy becomes mandatory part of the
process creation.  For each process created by core, core checks for
'root' argument of the PD session. If a path is present, core takes the
precautions needed to execute the new process in the specified chroot
environment.

This conceptual change implies minor changes with respect to the Genode
API and the configuration of the init process. The API changes are the
enhancement of the 'Genode::Child' and 'Genode::Process' constructors to
take the root path as argument. Init supports the specification of a
chroot per process by specifying the new 'root' attribute to the
'<start>' node of the process. In line with these changes, the
'Loader::Session::start' function has been enhanced with the additional
(optional) root argument.
2012-11-05 17:31:05 +01:00
..
allocator_avl.h Make first block of allocator_avl 64bit fit 2012-09-18 16:47:59 +02:00
allocator_guard.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
allocator.h Exceptions at construction time of dynamic objects 2012-01-26 21:19:30 +01:00
blocking.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
cancelable_lock.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
capability.h Avoid superfluous compiler warnings 2012-10-08 15:08:21 +02:00
child.h Add chroot support to core 2012-11-05 17:31:05 +01:00
connection.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
console.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
crt0.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
elf.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
env.h Provide cpu_session_cap via environment object 2012-10-24 11:34:33 +02:00
errno.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
exception.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
heap.h Use placement new for Heap::Dataspace (fix #203) 2012-05-10 19:04:35 +02:00
ipc_generic.h Set ERR_INVALID_OBEJCT if call failed to server 2012-08-10 10:57:54 +02:00
ipc.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
lock_guard.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
lock.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
native_capability.h Replace 'Native_capability::copy_to' by accessor 2012-03-28 09:58:51 +02:00
object_pool.h Fix a compile error reported by GCC 4.7.0 2012-03-30 19:55:56 +02:00
pager.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
platform_env.h Provide cpu_session_cap via environment object 2012-10-24 11:34:33 +02:00
printf.h Compile PDBG() in release mode too 2012-10-04 14:37:18 +02:00
process.h Add chroot support to core 2012-11-05 17:31:05 +01:00
rpc_args.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
rpc_client.h Support const RPC functions with no arguments 2012-01-27 16:54:05 +01:00
rpc_server.h Use OO-means to copy capabilities (fix #182) 2012-05-09 20:50:56 +02:00
rpc.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
semaphore.h Bug fix: null ptr dereference in base/semaphore 2012-07-04 14:56:44 +02:00
service.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
signal.h Validate liveliness of signal contexts 2012-03-21 21:37:15 +01:00
slab.h Exceptions at construction time of dynamic objects 2012-01-26 21:19:30 +01:00
sleep.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
snprintf.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
stdint.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
sync_allocator.h Feature: add synchronized allocator 2012-07-04 14:56:47 +02:00
thread_state.h Remove superfluous, generic Thread_state definition 2012-10-29 10:08:29 +01:00
thread.h Move context area definition to native_type 2012-09-24 09:17:54 +02:00
tslab.h Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00