From 5108d6995cb2ca4edd22ff22017c8216e9c2b1ab Mon Sep 17 00:00:00 2001 From: Moe-hacker Date: Fri, 7 Jun 2024 12:53:39 +0800 Subject: [PATCH] Fix cap_last_cap --- src/include/ruri.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/ruri.h b/src/include/ruri.h index e7a207f..8f90215 100644 --- a/src/include/ruri.h +++ b/src/include/ruri.h @@ -68,6 +68,8 @@ #define LIBCAP_MAJOR 114 #define LIBCAP_MINOR 514 #endif +#undef CAP_LAST_CAP +#define CAP_LAST_CAP 114 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0) #warning "This program has not been tested on Linux 3.x or earlier." #endif