Re: [PATCH] daemon: Break CHROOT_ENABLED into smaller macros.

2016-09-07 Thread Ludovic Courtès
Hi! Manolis Ragkousis skribis: > From aea4bf23b699b7ef5d7007b81f296b77324d5b6c Mon Sep 17 00:00:00 2001 > From: Manolis Ragkousis > Date: Sun, 7 Aug 2016 17:48:30 +0300 > Subject: [PATCH] daemon: Break CHROOT_ENABLED into smaller macros. > > We need to check for CLONE_NEWNS

[PATCH] daemon: Break CHROOT_ENABLED into smaller macros.

2016-08-11 Thread Manolis Ragkousis
usis Date: Sun, 7 Aug 2016 17:48:30 +0300 Subject: [PATCH] daemon: Break CHROOT_ENABLED into smaller macros. We need to check for CLONE_NEWNS only when we want to use the Linux specific clone(). Otherwise we use fork(). Also we define pivot_root() only if SYS_pivot_root is defined. * nix/libstor