mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-19 22:10:19 +02:00
drop legacy glibc version check for pkey support
This commit is contained in:
parent
0436227092
commit
466d351e93
1 changed files with 1 additions and 5 deletions
6
util.h
6
util.h
|
@ -41,12 +41,8 @@ typedef unsigned __int128 u128;
|
|||
#if CONFIG_SEAL_METADATA
|
||||
|
||||
#ifdef __GLIBC__
|
||||
#if __GLIBC_PREREQ(2, 27)
|
||||
#define USE_PKEY
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef USE_PKEY
|
||||
#else
|
||||
#error "CONFIG_SEAL_METADATA requires Memory Protection Key support"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue