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