[PATCH] Error checking for SETXID (bug 13347)
Florian Weimer
fweimer@redhat.com
Thu Mar 27 08:57:00 GMT 2014
On 03/25/2014 04:07 AM, Rich Felker wrote:
> On Mon, Mar 24, 2014 at 03:16:44PM -0400, Mike Frysinger wrote:
>>> But back to the topic, I was assuming correct behavior from the
>>> kernel. If the kernel misbehaves, aborting is a perfectly reasonable
>>> response (but if LSM's make the kernel lie, can you even tell if it
>>> misbehaved?).
>>
>> trying to stack the deck against failure is a good idea, but that is
>> orthogonal to checking the return value. there's no good reason at all to not
>> check & abort when the call fails.
>> -mike
>
> Agreed.
So what about the patch? I have put kernel support on my to-do list,
but I have other kernel items that I want to deal with first.
--
Florian Weimer / Red Hat Product Security Team
More information about the Libc-alpha
mailing list