Skip to content
Snippets Groups Projects
  • Zygmunt Krynicki's avatar
    b600d3e9
    ota/raucinterface,rauc/installhandler: convey install handler process ID · b600d3e9
    Zygmunt Krynicki authored
    
    RAUC install handlers execute in a mount namespace which sees the mounted
    bundle file. Add HandlerContext.HandlerPID which tracks the process
    which was responsible for the request.
    
    This allows sysotad to, receive the request, complete the request using
    the file system as the handler process sees it, before responding to the
    handler process.
    
    The Service.{Pre,Post}Install methods are extended to take the special
    dbus.Sender argument. The service calls org.freedesktop.DBus method
    GetConnectionUnixProcessID to find the process corresponding to the sender.
    
    Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
    b600d3e9
    History
    ota/raucinterface,rauc/installhandler: convey install handler process ID
    Zygmunt Krynicki authored
    
    RAUC install handlers execute in a mount namespace which sees the mounted
    bundle file. Add HandlerContext.HandlerPID which tracks the process
    which was responsible for the request.
    
    This allows sysotad to, receive the request, complete the request using
    the file system as the handler process sees it, before responding to the
    handler process.
    
    The Service.{Pre,Post}Install methods are extended to take the special
    dbus.Sender argument. The service calls org.freedesktop.DBus method
    GetConnectionUnixProcessID to find the process corresponding to the sender.
    
    Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.