Re: [PATCH] virtiofsd: avoid /proc/self/fd tempdir

2020-10-06 Thread Jens Freimann
On Tue, Oct 06, 2020 at 10:58:26AM +0100, Stefan Hajnoczi wrote: In order to prevent /proc/self/fd escapes a temporary directory is created where /proc/self/fd is bind-mounted. This doesn't work on read-only file systems. Avoid the temporary directory by bind-mounting /proc/self/fd over /proc. T

Re: [PATCH] virtiofsd: avoid /proc/self/fd tempdir

2020-10-06 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@redhat.com) wrote: > In order to prevent /proc/self/fd escapes a temporary directory is > created where /proc/self/fd is bind-mounted. This doesn't work on > read-only file systems. > > Avoid the temporary directory by bind-mounting /proc/self/fd over /proc. > This does

[PATCH] virtiofsd: avoid /proc/self/fd tempdir

2020-10-06 Thread Stefan Hajnoczi
In order to prevent /proc/self/fd escapes a temporary directory is created where /proc/self/fd is bind-mounted. This doesn't work on read-only file systems. Avoid the temporary directory by bind-mounting /proc/self/fd over /proc. This does not affect other processes since we remounted / with MS_RE