I'm not a developer/programmer. But this is the power of free software, meh.
So, running rpmlint versus the RPM package I created, it complaints about: POS36-C
hasciicam.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/hasciicam
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.
As said I'm not a C programmer or so, but using these lines:
I'm not a developer/programmer. But this is the power of free software, meh. So, running
rpmlint
versus the RPM package I created, it complaints about: POS36-CAs said I'm not a C programmer or so, but using these lines:
instead of
hasciicam still works 😅 and
rpmlint
is happy.