diff options
author | Igor Gnatenko <ignatenko@redhat.com> | 2018-02-07 12:11:39 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-02-07 12:11:39 +0100 |
commit | 388ff7bd0d57d7061fdd39a2f26f65687e8058da (patch) | |
tree | 01367e652fa93a0ff1b5859241084d04cde90aa6 /sysdeps/unix | |
parent | 0d40d0ecba3b1e5b8c3b8da01c708fea3948e193 (diff) | |
download | glibc-388ff7bd0d57d7061fdd39a2f26f65687e8058da.zip glibc-388ff7bd0d57d7061fdd39a2f26f65687e8058da.tar.gz glibc-388ff7bd0d57d7061fdd39a2f26f65687e8058da.tar.bz2 |
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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/mman-shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |