[PATCH 1/3] Mark ld.so internel mmap functions hidden
Richard Henderson
rth@twiddle.net
Mon Oct 19 20:45:00 GMT 2015
On 10/19/2015 09:31 AM, H.J. Lu wrote:
> +# if IS_IN (rtld)
> +# include <dl-mman.h>
> +extern __typeof (__mprotect) __mprotect attribute_hidden;
> +extern __typeof (__munmap) __munmap attribute_hidden;
Surely if mmap can't be hidden, then munmap can't either.
Surely you should just put all of these within dl-mman.h, even if in the end
there are a few lines of overlap.
r~
More information about the Libc-alpha
mailing list