ksysguard says: C++ programs should NEVER have setgid/setuid permissions

John Tapsell johnflux at gmail.com
Sat Jan 9 02:27:43 GMT 2010


2010/1/8 Thiago Macieira <thiago at kde.org>:
> Em Sexta-feira 08 Janeiro 2010, às 17:17:06, Martin Koller escreveu:
>> Hi folks,
>>
>> I stumbled over the following comment in ksysguard's Porting-HOWTO:
>>
>> "Since C++ programs
>> should NEVER have setgid/setuid permissions, a plain C back-end was
>> needed."
>>
>> Can anyone enlighten me, why there should be a difference with a setuid
>> program coded in C, C++ or anything else which is a compiled language ?
>
> The comment is wrong.

ksysguardd should never be setuid anyway - it has no security at all.

John




More information about the kde-core-devel mailing list