Commit cbec0030 by Stéphane Graber

Define PR_CAPBSET_READ when missing

PR_CAPBSET_READ isn't defined in bionic, so define it if it's not. Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent ed34a67d
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment