[PATCH] Linux: Introduce <bits/mman-shared.h>

Joseph Myers joseph@codesourcery.com
Fri Nov 24 16:59:00 GMT 2017


On Fri, 24 Nov 2017, Florian Weimer wrote:

> This header file enables sharing of portable declarations and
> definitions across all Linux architectures, including hppa (which does
> not use <bits/mman-linux.h>).

OK, please commit.  But there are more definitions that are the same 
between bits/mman-linux.h and hppa/bits/mman.h, which it might make sense 
to move to the new file as well - it looks like PROT_*, MCL_*, MREMAP_*, 
POSIX_MADV_* are the same.  (Some MADV_* are the same, some are 
different.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list