Re: [libvirt] [PATCH sandbox 1/4] push changing of user ID down into child process

2015-09-07 Thread Cedric Bosdonnat
On Fri, 2015-09-04 at 12:40 +0100, Daniel P. Berrange wrote: > When running interactive sandboxes, don't drop privileges in the > long running libvirt-sandbox-init-common process. This needs to > be privileged in order to sync, unmount and shutdown the guest > when the user command is finished.

[libvirt] [PATCH sandbox 1/4] push changing of user ID down into child process

2015-09-04 Thread Daniel P. Berrange
When running interactive sandboxes, don't drop privileges in the long running libvirt-sandbox-init-common process. This needs to be privileged in order to sync, unmount and shutdown the guest when the user command is finished. Push changing of user ID into the child process, between fork & exec.