[PATCH] Define secure_getenv (v2)

Florian Weimer fweimer@redhat.com
Mon Jul 30 13:07:00 GMT 2012


On 07/27/2012 02:58 PM, Carlos O'Donell wrote:
> On 7/27/2012 8:53 AM, Florian Weimer wrote:
>> On 07/27/2012 02:52 PM, Carlos O'Donell wrote:
>>
>>> Please tweak the test not to fail and issue a warning when the supplementary
>>> group is missing.
>>
>> Should I print the warning to stderr or stdout?
>
> Good question. Given that this is a warning about the test itself,
> not the thing that the test is testing, I would output this to
> stderr. That way a view of stderr would show the warning along with
> other warnings about the build.

What about this?  Tested on x86_64-redhat-linux-gnu, also with a user 
without supplementary GIDs.

-- 
Florian Weimer / Red Hat Product Security Team

-------------- next part --------------
A non-text attachment was scrubbed...
Name: secure-getenv-test.patch
Type: text/x-patch
Size: 5012 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120730/3cf24e85/attachment.bin>


More information about the Libc-alpha mailing list