On Tue, Nov 28, 2017 at 01:44:50AM +0200, Tuomas Tynkkynen wrote:
commit 9523feac272ccad2ad8186ba4fcc89103754de52 upstream, with changes to net/9p/trans_xen.c dropped as that driver was only added in 4.12.
Because userspace gets Very Unhappy when calls like stat() and execve() return -EINTR on 9p filesystem mounts. For instance, when bash is looking in PATH for things to execute and some SIGCHLD interrupts stat(), bash can throw a spurious 'command not found' since it doesn't retry the stat().
In practice, hitting the problem is rare and needs a really slow/bogged down 9p server.
Cc: stable@vger.kernel.org Signed-off-by: Tuomas Tynkkynen tuomas@tuxera.com Signed-off-by: Al Viro viro@zeniv.linux.org.uk
This backport applies to stable trees for 4.9 and below.
Thanks, now applied.
greg k-h