Teach rpmlint that no setgroups() call is fine

This commit is contained in:
Petr Písař 2019-05-29 09:07:33 +02:00
parent 0d36e5c387
commit 57e1da2761

View File

@ -1,3 +1,10 @@
from Config import *
addFilter("summary-not-capitalized C quota_nld");
addFilter("spelling-error .* (cron|Gettext|netlink)");
# We do not package any programs as SUID or SGID, thus the programs do not
# change EUID of EGID. Also the programs do not edit a set of supplementary
# groups before dropping the priviledges by calling setgid() and setuid().
# Thus no foreign supplementary groups can leak into the priviledge-lowered
# program. I.e. the priviledge-lowered program has the same supplementary
# groups as the user that executed the high-priviledged program.
addFilter("quota..*: E: missing-call-to-setgroups-before-setuid");