1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-10 05:03:06 +03:00

misc: add PKEY_UNRESTRICTED macro

A corresponding macro has been added to Linux UAPI headers in 6.15.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
Yury Khrustalev
2025-05-27 11:06:43 +01:00
parent 27cc947dce
commit 01bb997ef5

View File

@@ -43,10 +43,9 @@
# endif
/* Access restrictions for pkey_alloc. */
# ifndef PKEY_DISABLE_ACCESS
# define PKEY_DISABLE_ACCESS 0x1
# define PKEY_DISABLE_WRITE 0x2
# endif
# define PKEY_UNRESTRICTED 0x0
# define PKEY_DISABLE_ACCESS 0x1
# define PKEY_DISABLE_WRITE 0x2
__BEGIN_DECLS