mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-10 21:01:49 +00: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 repository contains dummy implementations of platform-specific Genode APIs to enable the compilation of Genode for the host platform. Because the repository provides only dummy implementations, most of the generated binaries will not work. However, the repository serves two important purposes. It documents the platform- specific APIs that must be filled out when porting Genode to another platform, and it is the build environment for unit tests executed on the host platform.