Add MAP_SHARED_VALIDATE from Linux 4.15

Dmitry V. Levin ldv@altlinux.org
Tue Feb 6 00:25:00 GMT 2018


On Thu, Feb 01, 2018 at 06:14:46PM +0000, Joseph Myers wrote:
> [Proposed for once the release changes for 2.27, and the post-release 
> changes opening master for development for 2.28, have been committed.]
> 
> This patch adds the MAP_SHARED_VALIDATE macro from Linux 4.15 to
> bits/mman-linux.h and the hppa bits/mman.h.
> 
> Tested for x86_64.
> 
> 2018-02-01  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
> 	(MAP_SHARED_VALIDATE): New macro.
> 	* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
> 	(MAP_SHARED_VALIDATE): Likewise.

I've double-checked that this matches Linux 4.15 headers.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180206/fcfb04cd/attachment.sig>


More information about the Libc-alpha mailing list