mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
On Linux, we want to attach additional attributes to processes, i.e., the chroot location, the designated UID, and GID. Instead of polluting the generic code with such Linux-specific platform details, I introduced the new 'Native_pd_args' type, which can be customized for each platform. The platform-dependent policy of init is factored out in the new 'pd_args' library. The new 'base-linux/run/lx_pd_args.run' script can be used to validate the propagation of those attributes into core. Note that this patch does not add the interpretation of the new UID and PID attributes by core. This will be subject of a follow-up patch. Related to #510.
This directory contains a loader service, which allows for the instantiation of subsystems via a session interface. The resources for the new subsystem are provided by the client when opening the session. The client has no control over the functioning of the subsystem except for the controlling the lifetime of the subsystem.