mirror of
https://github.com/torvalds/linux.git
synced 2025-10-28 15:26:22 +02:00
The reproducer:
echo | ./usr/gen_init_cpio /dev/stdin > /dev/null
fsync() on a pipe fd returns -EINVAL, which makes gen_init_cpio fail.
Ignore -EINVAL from fsync().
Fixes:
|
||
|---|---|---|
| .. | ||
| dummy-include | ||
| include | ||
| .gitignore | ||
| default_cpio_list | ||
| gen_init_cpio.c | ||
| gen_initramfs.sh | ||
| initramfs_data.S | ||
| Kconfig | ||
| Makefile | ||