Closed srakitnican closed 5 years ago
missing-call-to-setgroups-before-setuid:
This executable is calling setuid and setgid without setgroups or initgroups.
There is a high probability this means it didn't relinquish all groups, and
this would be a potential security issue to be fixed. Seek POS36-C on the web
for details about the problem.
The missing-call-to-setgroups-before-setuid rpmlint error actually has nothing to do with CAMotics. The code that calls setuid()
is not reachable from CAMotics. I made a change in cbang to use setgroups()
instead of setgid()
. Hopefully this fixes it.
The change satisfies rpmlint, thanks.
It seems something changed from the version 1.1.1 that produces the
missing-call-to-setgroups-before-setuid
rpmlint error message.I believe the rPath is added by the qt5 SCons build script, but I believe I can patch when building to remove if it is not possible to remove here.