Message ID | 20151014224754.GC30911@intel.com |
---|---|
State | New |
Headers | show |
For this and all the rest you need to verify that they do not break anything on Hurd.
On Thu, Oct 15, 2015 at 1:15 PM, Roland McGrath <roland@hack.frob.com> wrote: > For this and all the rest you need to verify that they do not break > anything on Hurd. For all I know, they are internal to ld.so. Can someone show the output of # readelf --dyn-sym --wide elf/ld.so on i386 Hurd? Thanks.
diff --git a/include/sys/mman.h b/include/sys/mman.h index fd125ec..fdfedbb 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -16,6 +16,12 @@ libc_hidden_proto (__madvise) /* This one is Linux specific. */ extern void *__mremap (void *__addr, size_t __old_len, size_t __new_len, int __flags, ...); + +# if IS_IN (rtld) +extern __typeof (__mmap) __mmap attribute_hidden; +extern __typeof (__mprotect) __mprotect attribute_hidden; +extern __typeof (__munmap) __munmap attribute_hidden; +# endif #endif #endif