[PATCH v3] libio: use PTR_MANGLE/PTR_DEMANGLE for FILE vtables

Kees Cook keescook@chromium.org
Wed May 25 17:20:00 GMT 2016


On Wed, May 25, 2016 at 1:29 AM, Florian Weimer <fweimer@redhat.com> wrote:
> On 05/24/2016 06:58 PM, Kees Cook wrote:
>>
>> +             [libio_compatibility=no])
>
>
> I really don't think we want to do this by default, at least not for i386.
> Existing policy is to maintain the ABI, even doing so is not cheap.

Okay, so send a v3 that inverts this to --disable-libio-compatibility

> I think we need a follow-up patch which removes the symbols which are now
> incompatible from the ABI, so that programs which are broken by this
> configuration receive an explicit error message.

I have no idea how/where to do this. :) Hints?

-Kees

-- 
Kees Cook
Chrome OS & Brillo Security



More information about the Libc-alpha mailing list