• Colin Walters's avatar
    PolkitSystemBusName: Retrieve both pid and uid · bfa5036b
    Colin Walters authored
    For polkit_system_bus_name_get_process_sync(), as pointed out by
    Miloslav Trmac, we can securely retrieve the owner uid as well from
    the system bus, rather than (racily) looking it up internally.
    
    This avoids use of a deprecated API.
    
    However, this is not a security fix because nothing in the polkit
    codebase itself actually retrieves the uid from the result of this API
    call.  But, it might be useful in the future.
    bfa5036b
Name
Last commit
Last update
..
Makefile.am Loading commit data...
polkit.h Loading commit data...
polkitactiondescription.c Loading commit data...
polkitactiondescription.h Loading commit data...
polkitauthority.c Loading commit data...
polkitauthority.h Loading commit data...
polkitauthorityfeatures.c Loading commit data...
polkitauthorityfeatures.h Loading commit data...
polkitauthorizationresult.c Loading commit data...
polkitauthorizationresult.h Loading commit data...
polkitcheckauthorizationflags.c Loading commit data...
polkitcheckauthorizationflags.h Loading commit data...
polkitdetails.c Loading commit data...
polkitdetails.h Loading commit data...
polkitenumtypes.c.template Loading commit data...
polkitenumtypes.h.template Loading commit data...
polkiterror.c Loading commit data...
polkiterror.h Loading commit data...
polkitidentity.c Loading commit data...
polkitidentity.h Loading commit data...
polkitimplicitauthorization.c Loading commit data...
polkitimplicitauthorization.h Loading commit data...
polkitpermission.c Loading commit data...
polkitpermission.h Loading commit data...
polkitprivate.h Loading commit data...
polkitsubject.c Loading commit data...
polkitsubject.h Loading commit data...
polkitsystembusname.c Loading commit data...
polkitsystembusname.h Loading commit data...
polkittemporaryauthorization.c Loading commit data...
polkittemporaryauthorization.h Loading commit data...
polkittypes.h Loading commit data...
polkitunixgroup.c Loading commit data...
polkitunixgroup.h Loading commit data...
polkitunixnetgroup.c Loading commit data...
polkitunixnetgroup.h Loading commit data...
polkitunixprocess.c Loading commit data...
polkitunixprocess.h Loading commit data...
polkitunixsession-systemd.c Loading commit data...
polkitunixsession.c Loading commit data...
polkitunixsession.h Loading commit data...
polkitunixuser.c Loading commit data...
polkitunixuser.h Loading commit data...