D5783: Use application name instead of pid when creating SNI dbus service

Jan Grulich noreply at phabricator.kde.org
Wed May 10 06:34:48 UTC 2017


jgrulich updated this revision to Diff 14360.
jgrulich added a comment.


  Use applicationName() instead of applicationPid() only for sandboxed applications
  
  This still doesn't make the service name unique, but at least there won't be collision between
  instances running outside the sandbox. Unfortunately I can't think of anything else to use as 
  we need the dbus service name predictable so we can allow access to it for the sandboxed app.

REPOSITORY
  R289 KNotifications

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D5783?vs=14333&id=14360

BRANCH
  application-dbus (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D5783

AFFECTED FILES
  src/kstatusnotifieritemdbus_p.cpp

To: jgrulich, apol, mart
Cc: mart, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170510/a611e20b/attachment.html>


More information about the Kde-frameworks-devel mailing list