Skip to content

Use peer-to-peer D-Bus connection between tracker-miner-fs-3 and tracker-extract-3

Depends on tracker!632. In this merge request:

  • Some more things move to be handled through the ExtractorConfig property in the private interface between miner and extractor: Battery/low power detection, and the content graphs being prioritized for extraction.
  • tracker-extract-3 is made no longer a session (bus) service. Instead, tracker-miner-fs-3 creates a socketpair, spawns tracker-extract-3 directly passing it one end, and lets both ends create a server/client GDBusConnection for direct communication.
  • Drops the most dubious bits of our seccomp sandbox: Disallows connect(), socket(), shutdown()

This makes all tracker-extract-3 communication only effectively possible through this peer-to-peer bus connection, reserved to the D-Bus objects explicitly exposed in it.

Merge request reports

Loading