Skip to content

[opensuse] BinariesCheck: fix logic for missing-call-to-setgroups-before-setuid#1462

Merged
FilippoBonazziSUSE merged 2 commits intorpm-software-management:opensusefrom
mgerstner:setgroups-logic-fix
Feb 19, 2026
Merged

[opensuse] BinariesCheck: fix logic for missing-call-to-setgroups-before-setuid#1462
FilippoBonazziSUSE merged 2 commits intorpm-software-management:opensusefrom
mgerstner:setgroups-logic-fix

Conversation

@mgerstner
Copy link
Contributor

In commit a6cf2c9 logic was introduced to selectively only report a warning for this diagnostic. The way it is currently done does not make any sense, however, the severity of this diagnostic is higher if the binary is installed setuid. Thus switch the order around.

In commit a6cf2c9 logic was introduced to selectively only report a
warning for this diagnostic. The way it is currently done does not make
any sense, however, the severity of this diagnostic is higher if the
binary is installed setuid. Thus switch the order around.
…tuid

Since we corrected the logic of error vs. warning we also need to adjust
the tests accordingly.
@FilippoBonazziSUSE FilippoBonazziSUSE merged commit e9daf10 into rpm-software-management:opensuse Feb 19, 2026
11 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants