Skip to content

Commit

Permalink
bin/suid-list: add more paths specific to Fedora and Debian
Browse files Browse the repository at this point in the history
On Fedora 39:

    root-suid file /usr/libexec/libgtop_server2

On Debian 12:

    root-suid link /usr/lib/policykit-1/polkit-agent-helper-1 -> /usr/lib/polkit-1/polkit-agent-helper-1
    root-suid link /usr/libexec/polkit-agent-helper-1 -> /usr/lib/polkit-1/polkit-agent-helper-1
  • Loading branch information
fishilico committed Jan 20, 2024
1 parent 25a217c commit 3420956
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/suid-list
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ TRUSTED_SUID_FILES = [

# libgtop, https://developer-old.gnome.org/libgtop/stable/
# https://gitlab.gnome.org/GNOME/libgtop
SuidFile('/lib/libgtop/libgtop_server2'),
SuidFile('/lib(exec)?/libgtop/libgtop_server2'),

# lldpd, https://vincentbernat.github.io/lldpd/
# https://github.com/lldpd/lldpd
Expand Down Expand Up @@ -385,6 +385,10 @@ TRUSTED_SUID_FILES = [
'/libexec/polkit-agent-helper-1'),
LinkToSuidFile('/lib/polkit-1/polkit-agent-helper-1',
'/libexec/polkit-agent-helper-1'),
LinkToSuidFile('/lib/policykit-1/polkit-agent-helper-1',
'/lib/polkit-1/polkit-agent-helper-1'),
LinkToSuidFile('/libexec/polkit-agent-helper-1',
'/lib/polkit-1/polkit-agent-helper-1'),
SuidFile('/lib(exec)?/polkit-1/polkit-agent-helper-1'),
SuidFile('/libexec/polkit-agent-helper-1'),

Expand Down

0 comments on commit 3420956

Please sign in to comment.