Re: [PATCH v2 1/5] virtiofsd: Add notion of unprivileged mode

2020-08-07 Thread Dr. David Alan Gilbert
* Vivek Goyal (vgo...@redhat.com) wrote: > At startup if we are running as non-root user, then internally set > unpriviliged mode set. Also add a notion of sandbox NONE and set > that internally in unprivileged mode. setting up namespaces and > chroot() fails in unpriviliged mode. > > Signed-off-b

[PATCH v2 1/5] virtiofsd: Add notion of unprivileged mode

2020-07-30 Thread Vivek Goyal
At startup if we are running as non-root user, then internally set unpriviliged mode set. Also add a notion of sandbox NONE and set that internally in unprivileged mode. setting up namespaces and chroot() fails in unpriviliged mode. Signed-off-by: Vivek Goyal --- tools/virtiofsd/passthrough_ll.c