This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch release/2.27/master updated. glibc-2.27-5-g56170e0
- From: fw at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 7 Feb 2018 13:02:43 -0000
- Subject: GNU C Library master sources branch release/2.27/master updated. glibc-2.27-5-g56170e0
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, release/2.27/master has been updated
via 56170e064e2b21ce204f0817733e92f1730541ea (commit)
from 00c5a2d77a541fa005cb460bd1a45f51f1aa71ea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=56170e064e2b21ce204f0817733e92f1730541ea
commit 56170e064e2b21ce204f0817733e92f1730541ea
Author: Igor Gnatenko <ignatenko@redhat.com>
Date: Wed Feb 7 13:53:10 2018 +0100
Linux: use reserved name __key in pkey_get [BZ #22797]
_key is not reserved name and we should avoid using that. It seems that
it was simple typo when pkey_* was implemented.
(cherry picked from commit 388ff7bd0d57d7061fdd39a2f26f65687e8058da)
diff --git a/ChangeLog b/ChangeLog
index 65ebfbc..cfe43e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
+
+ [BZ #22797]
+ * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
+ missing second underscore to parameter name.
+
2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
[BZ #22638]
diff --git a/NEWS b/NEWS
index 4bb08b1..1e4cb10 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ The following bugs are resolved with this release:
[22638] sparc: static binaries are broken if glibc is built by gcc
configured with --enable-default-pie
+ [22797] Linux: use reserved name __key in pkey_get
Version 2.27
diff --git a/sysdeps/unix/sysv/linux/bits/mman-shared.h b/sysdeps/unix/sysv/linux/bits/mman-shared.h
index 7715e68..d15ba95 100644
--- a/sysdeps/unix/sysv/linux/bits/mman-shared.h
+++ b/sysdeps/unix/sysv/linux/bits/mman-shared.h
@@ -61,7 +61,7 @@ int pkey_set (int __key, unsigned int __access_rights) __THROW;
/* Return the access rights for the current thread for KEY, which must
have been allocated using pkey_alloc. */
-int pkey_get (int _key) __THROW;
+int pkey_get (int __key) __THROW;
/* Free an allocated protection key, which must have been allocated
using pkey_alloc. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 1 +
sysdeps/unix/sysv/linux/bits/mman-shared.h | 2 +-
3 files changed, 8 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources