pipe: first cut at fixing a pile of pipe breakages
authorAlan Cox <alan@linux.intel.com>
Sun, 28 Aug 2016 22:43:51 +0000 (23:43 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 28 Aug 2016 22:43:51 +0000 (23:43 +0100)
commit5e85b59f1888c9ba98d03b181bc2fc1399b777e7
tree0d9e1a975f9c6cf862a46379c1fe6305b15269fd
parenta6585b38c105cf9e161beb55fc5fae2bb6208873
pipe: first cut at fixing a pile of pipe breakages

There is still lots more to deal with

- introduce a helper to check if a file is open for read/write
- use this to correct the EOF checking

Original bugs noted by David Flamand
Kernel/filesys.c
Kernel/include/kernel.h
Kernel/inode.c