diff options
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r-- | util-linux/switch_root.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index 2d1802b..947dd0c 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c @@ -39,6 +39,12 @@ #include <sys/mount.h> #if ENABLE_RUN_INIT # include <sys/prctl.h> +# ifndef PR_CAPBSET_READ +# define PR_CAPBSET_READ 23 +# endif +# ifndef PR_CAPBSET_DROP +# define PR_CAPBSET_DROP 24 +# endif # include <linux/capability.h> // #include <sys/capability.h> // This header is in libcap, but the functions are in libc. |