davidedmundson added a comment.

  > The sequence would be, registering service in ioslave, setting euid of the 
helper process and sending the file descriptor over user's session bus
  
  I don't fully know this code, but that doesn't sound right.
  
  Your helper is running on the system bus, and shouldn't really have access to 
the user's session bus at all.
  Your client side ioslave will have connections to both busses, but only be 
talking to the helper on the system bus.
  
  With polkit you currently request something over DBus from a helper and you 
get a reply back. What you're describing you want is exactly that, except the 
reply happens a file descriptor. (which as you hint is a native DBus type) Why 
do you need to register a service in the ioslave?

INLINE COMMENTS

> sharefd.cpp:107
> +
> +bool FdReceiver::startListening(const std::string &path)
> +{

If this is on the client side, what stops any other (non authorised) client 
listening to here?

REPOSITORY
  R241 KIO

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

To: chinmoyr, thiago, #frameworks
Cc: davidedmundson, elvisangelaccio, shortstheory

Reply via email to