PolicyKit releases and !AWOL

Doug Klima cardoe at gentoo.org
Thu Dec 6 08:47:15 PST 2007


Nicolas Trangez wrote:
> On Thu, 2007-12-06 at 11:33 -0500, Doug Klima wrote:
>   
>> It's still providing some functionality that's provided by glib and as
>> such still re-implementing a sub-set of glib and to what benefit?
>>     
>
> IIRC for the same reason glib can't be used inside eg the xorg server,
> as glib will exit(3) whenever an allocation is done (using eg g_malloc)
> which returns NULL (OOM). Something you can't afford to happen in a
> long-running application like your X server or polkit.
>
> Nicolas
>   
Except PolKit isn't a long running application. It just runs once, when
the authorization is requested and exits. It's executed by D-Bus calls.
So this reasoning is bogus.


More information about the hal mailing list