This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v4] libio: use PTR_MANGLE/PTR_DEMANGLE for FILE vtables
- From: Florian Weimer <fweimer at redhat dot com>
- To: Kees Cook <keescook at chromium dot org>, libc-alpha at sourceware dot org
- Cc: Mike Frysinger <vapier at gentoo dot org>, Adam Conrad <adconrad at 0c3 dot net>, Joseph Myers <joseph at codesourcery dot com>, Yunlian Jiang <yunlian at google dot com>
- Date: Sun, 29 May 2016 19:38:33 +0200
- Subject: Re: [PATCH v4] libio: use PTR_MANGLE/PTR_DEMANGLE for FILE vtables
- Authentication-results: sourceware.org; auth=none
- References: <20160525210903 dot GA10689 at www dot outflux dot net>
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?
Is it for Hurd's benefit? Then we we'd need it here as well because
it's generic code.
Florian