drop legacy glibc version check for pkey support
parent
0436227092
commit
466d351e93
6
util.h
6
util.h
|
@ -41,12 +41,8 @@ typedef unsigned __int128 u128;
|
||||||
#if CONFIG_SEAL_METADATA
|
#if CONFIG_SEAL_METADATA
|
||||||
|
|
||||||
#ifdef __GLIBC__
|
#ifdef __GLIBC__
|
||||||
#if __GLIBC_PREREQ(2, 27)
|
|
||||||
#define USE_PKEY
|
#define USE_PKEY
|
||||||
#endif
|
#else
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef USE_PKEY
|
|
||||||
#error "CONFIG_SEAL_METADATA requires Memory Protection Key support"
|
#error "CONFIG_SEAL_METADATA requires Memory Protection Key support"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue