]> git.ipfire.org Git - thirdparty/glibc.git/commit
mlock, mlock2, munlock: Use __attr_access_none macro
authorSam James <sam@gentoo.org>
Thu, 2 Jan 2025 17:26:28 +0000 (17:26 +0000)
committerSam James <sam@gentoo.org>
Thu, 2 Jan 2025 17:58:06 +0000 (17:58 +0000)
commite9be7701e6cd2b7be5454efaece3abc7ec9102ce
tree7035df759607ea652c26b15c4ce4e2d52012eb14
parent0ab62fa4f6c5ed24afe9a51f13aa759f5e88ec01
mlock, mlock2, munlock: Use __attr_access_none macro

This fixes build failures using GCC 7.5.0 against glibc headers,
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118194#c5.

Followup to 013106ae677af9836614ace1a01d25b63fa555a7.

Reported-by: vvinayag@arm.com
misc/sys/mman.h
sysdeps/unix/sysv/linux/bits/mman-shared.h