Re: policykit authentication agent with dbus

2012-06-24 Thread Serghei Amelian
On Wednesday 20 June 2012 23:20:31 Serghei Amelian wrote: > On Wednesday 20 June 2012 21:34:19 Serghei Amelian wrote: > > On Wednesday 20 June 2012 21:27:02 PCMan wrote: > > > > [...] > > > > > Looks like it uses ConsoleKit? > > > org.freedesktop.ConsoleKit > > > /org/freedesktop/ConsoleKit/Manager

Re: policykit authentication agent with dbus

2012-06-20 Thread Serghei Amelian
On Wednesday 20 June 2012 21:34:19 Serghei Amelian wrote: > On Wednesday 20 June 2012 21:27:02 PCMan wrote: > > [...] > > > Looks like it uses ConsoleKit? > > org.freedesktop.ConsoleKit > > /org/freedesktop/ConsoleKit/Manager > > org.freedesktop.ConsoleKit.Manager > > GetSessionForUnixProcess > > >

Re: policykit authentication agent with dbus

2012-06-20 Thread Serghei Amelian
On Wednesday 20 June 2012 21:27:02 PCMan wrote: [...] > Looks like it uses ConsoleKit? > org.freedesktop.ConsoleKit > /org/freedesktop/ConsoleKit/Manager > org.freedesktop.ConsoleKit.Manager > GetSessionForUnixProcess > > I read its source code and found this. I think you right, I missed this ch

Re: policykit authentication agent with dbus

2012-06-20 Thread PCMan
On Thu, Jun 21, 2012 at 2:17 AM, Kevin Chadwick wrote: >> I want to implement a policy agent for kde3 and I want to use only dbus >> calls. > > What's so good about dbus. For years Windows has been criticised for > it's abundant use of difficult to secure RPC. (Ever disabled RPC on > Windows?, qu

Re: policykit authentication agent with dbus

2012-06-20 Thread Kevin Chadwick
> I want to implement a policy agent for kde3 and I want to use only dbus calls. What's so good about dbus. For years Windows has been criticised for it's abundant use of difficult to secure RPC. (Ever disabled RPC on Windows?, quite amusing). IPC over usage is worrying. IPC on QNXs microkernel ma

policykit authentication agent with dbus

2012-06-20 Thread Serghei Amelian
Hello, I want to implement a policy agent for kde3 and I want to use only dbus calls. Unfortunately plolicykit dbus API is not very well documented and I cannot figure out how to emulate polkit_unix_session_new_for_process_sync(). Any clue? Thanks. -- Serghei