drop legacy glibc version check for pkey support

This commit is contained in:
Daniel Micay 2020-03-29 07:41:18 -04:00
parent 0436227092
commit 466d351e93

6
util.h
View File

@ -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