Re: WARNING: no_suid: setuid(0): (1) Operation not permitted

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 23 May 2013 01:00:20 +1200

Moved to squid-dev as we are getting into code details...

On 22/05/2013 10:45 p.m., Eliezer Croitoru wrote:
> On 2/6/2013 11:49 PM, Alex Rousskov wrote:
>> mos, bug 3763 is not about setuid(0) warnings, although both bugs may
>> have been caused by the same Coverity-inspired motivation to check the
>> return values of system calls.
>>
>> Simone, yes, I think you should report the setuid warning bug. If you
>> do, please note that it appears to be BSD-specific.
>>
>>
>> Thank you,
>>
>> Alex.
> I have a case on FreeBSD and it's confirm only on FreeBSD and not linux.
> What can we do with it?
> Do we want to handle it?

I had the idea that we could add a new Kid type of "Helper" and
differentiate the spawned helper processes with it:
http://master.squid-cache.org/~amosjeffries/patches/FreeBSD_silence_nosuid_mk1.patch

that above builds but that is all I tested.

Amos
Received on Wed May 22 2013 - 13:00:30 MDT

This archive was generated by hypermail 2.2.0 : Wed May 22 2013 - 12:00:10 MDT