Closed vmihalko closed 1 year ago
In GitLab by @bluca on Aug 17, 2023, 16:27
_Merges getcreds -> master
D-Bus will give us supplementary groups too, using SO_PEERSEC which is secure and safe against races, so prefer that to parsing the group from the uid. This is available when using dbus-broker.
Fixes https://gitlab.freedesktop.org/polkit/polkit/-/issues/165
Split out of https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/154
In GitLab by @bluca on Aug 17, 2023, 16:27
_Merges getcreds -> master
D-Bus will give us supplementary groups too, using SO_PEERSEC which is secure and safe against races, so prefer that to parsing the group from the uid. This is available when using dbus-broker.
Fixes https://gitlab.freedesktop.org/polkit/polkit/-/issues/165
Split out of https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/154