mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
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.
This commit is contained in:
committed by
Florian Weimer
parent
0d40d0ecba
commit
388ff7bd0d
@ -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-06 Joseph Myers <joseph@codesourcery.com>
|
2018-02-06 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #14508]
|
[BZ #14508]
|
||||||
|
@ -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
|
/* Return the access rights for the current thread for KEY, which must
|
||||||
have been allocated using pkey_alloc. */
|
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
|
/* Free an allocated protection key, which must have been allocated
|
||||||
using pkey_alloc. */
|
using pkey_alloc. */
|
||||||
|
Reference in New Issue
Block a user