mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 22:34:41 +00:00
conf: fix build without libcap
Signed-off-by: Dima Krasner <samdima@securingsam.com>
This commit is contained in:
parent
1dd898cc99
commit
bc5b27d6f6
@ -130,6 +130,14 @@ lxc_log_define(lxc_conf, lxc);
|
||||
#define LO_FLAGS_AUTOCLEAR 4
|
||||
#endif
|
||||
|
||||
#ifndef CAP_SETUID
|
||||
#define CAP_SETUID 7
|
||||
#endif
|
||||
|
||||
#ifndef CAP_SETGID
|
||||
#define CAP_SETGID 6
|
||||
#endif
|
||||
|
||||
/* needed for cgroup automount checks, regardless of whether we
|
||||
* have included linux/capability.h or not */
|
||||
#ifndef CAP_SYS_ADMIN
|
||||
|
Loading…
Reference in New Issue
Block a user