mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00:00
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.
This commit is contained in:
committed by
Lennart Poettering
parent
ac741c10e2
commit
94d21c2ef6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user