mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 08:10:56 +00:00
Define PR_CAPBSET_READ when missing
PR_CAPBSET_READ isn't defined in bionic, so define it if it's not. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
ed34a67d01
commit
cbec003096
@ -37,6 +37,10 @@ lxc_log_define(lxc_caps, lxc);
|
||||
#if HAVE_SYS_CAPABILITY_H
|
||||
#include <sys/capability.h>
|
||||
|
||||
#ifndef PR_CAPBSET_READ
|
||||
#define PR_CAPBSET_READ 23
|
||||
#endif
|
||||
|
||||
int lxc_caps_reset(void)
|
||||
{
|
||||
cap_t cap = cap_init();
|
||||
|
Loading…
Reference in New Issue
Block a user