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

Roland McGrath roland@hack.frob.com
Tue May 31 18:56:00 GMT 2016


> On 05/25/2016 11:09 PM, Kees Cook wrote:
> > +#ifndef USE_COMPAT_LIBIO
> > +  PTR_MANGLE (_IO_JUMPS_FILE_plus_RAW (stdin));
> 
> Does anybody know why we have #ifdef PTR_MANGLE in some many places?

Originally it was only done for some machines.  I think we decided quite a
while ago that we should just implement it all around, so the #ifdef'ing
is obsolete.



More information about the Libc-alpha mailing list