From: Michal Koutný Date: Wed, 26 Aug 2020 13:37:21 +0000 (+0200) Subject: missing: Add new Linux capability X-Git-Tag: v247-rc1~353 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94d21c2ef6cd6bb035d4c21c98ab001c0abd4cbe;p=thirdparty%2Fsystemd.git missing: Add new Linux capability Yet another new capability coming in Linux kernel v5.9. Make sure we can recongize them even when built with older kernel headers. --- diff --git a/src/basic/missing_capability.h b/src/basic/missing_capability.h index dd6bccd8700..b31e7363902 100644 --- a/src/basic/missing_capability.h +++ b/src/basic/missing_capability.h @@ -26,3 +26,11 @@ #undef CAP_LAST_CAP #define CAP_LAST_CAP CAP_BPF #endif + +/* 124ea650d3072b005457faed69909221c2905a1f (5.9) */ +#ifndef CAP_CHECKPOINT_RESTORE +#define CAP_CHECKPOINT_RESTORE 40 + +#undef CAP_LAST_CAP +#define CAP_LAST_CAP CAP_CHECKPOINT_RESTORE +#endif