From 466d351e9361705e7c8a44d9395f5eca3873369b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 29 Mar 2020 07:41:18 -0400 Subject: [PATCH] drop legacy glibc version check for pkey support --- util.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/util.h b/util.h index 3e07d8c..f22ece5 100644 --- a/util.h +++ b/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