missing-call-to-setgroups-before-setuid build error
scanbd is a scanner button daemon looking for scanner button pressed
Brought to you by:
wimalopaan
Hi
When building on the Open Build Service for an openSUSE rpm I get the following error;
[ 41s] scanbd.x86_64: W: missing-call-to-setgroups-before-setuid /usr/sbin/scanbd
[ 41s] This executable is calling setuid and setgid without setgroups or initgroups.
[ 41s] There is a high probability this means it didn't relinquish all groups, and
[ 41s] this would be a potential security issue to be fixed. Seek POS36-C on the web
[ 41s] for details about the problem.
Attached, please find a patch to resolve the issue for your consideration.
Thank you. Applied to trunk.