genode/repos/os/src/init
Norman Feske 4b46abf813 base: rm first-class support for static binaries
This patch removes the detection of statically linked executables from
the base framework. It thereby fixes the corner cases encountered with
Sculpt when obtaining the binaries of the runtime from the depot_rom
service that is hosted within the runtime.

Statically linked binaries and hybrid Linux/Genode (lx_hybrid) binaries
can still be started by relabeling the ROM-session route of "ld.lib.so"
to the binary name, pretending that the binary is the dynamic linker.
This can be achieved via init's label rewriting mechanism:

  <route>
    <service name="ROM" unscoped_label="ld.lib.so">
      <parent label="test-platform"/> </service>
  </route>

However, as this is quite cryptic and would need to be applied for all
lx_hybrid components, the patch adds a shortcut to init's configuration.
One can simply add the 'ld="no"' attribute to the <start> node of the
corresponding component:

  <start name="test-platform" ld="no"/>

Fixes #2866
2018-08-02 14:36:38 +02:00
..
alias.h init: refactoring into multiple files 2017-03-24 16:19:56 +01:00
child_registry.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
child.cc base: rm first-class support for static binaries 2018-08-02 14:36:38 +02:00
child.h base: rm first-class support for static binaries 2018-08-02 14:36:38 +02:00
config.explicit_routing Remove obsolete RAM/CAP services from run scripts 2017-05-31 13:16:22 +02:00
config.priority Remove obsolete RAM/CAP services from run scripts 2017-05-31 13:16:22 +02:00
config.wildcard Remove obsolete RAM/CAP services from run scripts 2017-05-31 13:16:22 +02:00
config.xsd base: rm first-class support for static binaries 2018-08-02 14:36:38 +02:00
main.cc init: defer immediate restart of abandoned child 2018-06-12 12:11:47 +02:00
name_registry.h init: refactoring into multiple files 2017-03-24 16:19:56 +01:00
report.h init: reduce report latency for resource requests 2018-06-12 12:11:38 +02:00
server.cc Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
server.h os: make 'Buffered_xml' util publicly available 2018-02-09 13:34:17 +01:00
service.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
state_reporter.h init: reduce report latency for resource requests 2018-06-12 12:11:38 +02:00
target.mk run: target-specific config schemata 2017-12-21 15:01:36 +01:00
types.h Capability quota accounting and trading 2017-05-31 13:16:06 +02:00
utils.h init: support dynamic cap-quota adjustment 2018-06-12 12:11:42 +02:00
verbose.h init: refactoring into multiple files 2017-03-24 16:19:56 +01:00