From: Daniel Mack Date: Fri, 22 Aug 2014 17:02:03 +0000 (+0200) Subject: service: hook up custom endpoint logic X-Git-Tag: v217~636 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e44da745d19b9e02e67e32ea82c3bad86175120c;hp=e44da745d19b9e02e67e32ea82c3bad86175120c;p=elogind.git service: hook up custom endpoint logic If BusPolicy= was passed, the parser function will have created an ExecContext->bus_endpoint object, along with policy information. In that case, create a kdbus endpoint, and pass its path name to the namespace logic, to it will be mounted over the actual 'bus' node. At endpoint creation time, no policy is updloaded. That is done after fork(), through a separate call. This is necessary because we don't know the real uid of the process earlier than that. ---