kernel_optimize_test/fs/autofs
NeilBrown 660c9fc72e autofs: clear O_NONBLOCK on the pipe
autofs does not expect the pipe it is given to have O_NONBLOCK set -
specifically if __kernel_write() in autofs_write() returns -EAGAIN, this
is treated as a fatal error and the pipe is closed.

For safety autofs should, therefore, clear the O_NONBLOCK flag.

Releases of systemd prior to 8th February 2019 used
  pipe2(p, O_NONBLOCK|O_CLOEXEC)
and thus (inadvertently) set this flag.

Link: http://lkml.kernel.org/r/154993550902.3321.1183632970046073478.stgit@pluto-themaw-net
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-03-07 18:32:01 -08:00
..
autofs_i.h autofs: clear O_NONBLOCK on the pipe 2019-03-07 18:32:01 -08:00
dev-ioctl.c autofs: change catatonic setting to a bit flag 2019-01-04 13:13:47 -08:00
expire.c autofs: drop dentry reference only when it is never used 2019-02-01 15:46:24 -08:00
init.c autofs: improve ioctl sbi checks 2019-01-04 13:13:46 -08:00
inode.c fs/autofs/inode.c: use seq_puts() for simple strings in autofs_show_options() 2019-03-07 18:32:01 -08:00
Kconfig autofs: Fix typo s/thenew new/the new/ in AUTOFS4_FS description 2018-06-12 12:31:19 -07:00
Makefile autofs: rename 'autofs' module back to 'autofs4' 2018-07-05 11:35:04 -07:00
root.c autofs: add strictexpire mount option 2019-01-04 13:13:47 -08:00
symlink.c autofs: copy autofs4 to autofs 2018-06-07 17:34:39 -07:00
waitq.c autofs: change catatonic setting to a bit flag 2019-01-04 13:13:47 -08:00