David van Moolenbroek 179bddcf5d VFS: fix error behavior for partial pipe writes
This patch fixes two related issues:

- If a large (>PIPE_BUF) pipe write is processed partially, only to be
  followed by a write error condition, then the process is left in an
  incorrect state, possibly causing VFS to crash on a subsequent call.

- If such a partially processed large pipe write ends up resulting in
  an EPIPE error, no corresponding SIGPIPE signal is generated.

The corrected behavior is tested in test68.

Change-Id: I5540e61ab6bcc60a31201485eda04bc49ece2ca8
2015-06-05 18:40:57 +00:00
2015-04-15 13:50:57 +02:00
2015-05-18 13:52:13 +02:00
2014-08-01 14:58:40 +02:00
2015-03-25 06:53:44 +01:00
2015-04-15 09:47:27 +02:00
2014-08-07 14:27:32 +02:00
2014-07-31 16:00:30 +02:00
2015-03-18 07:49:03 +01:00
2014-07-28 17:05:59 +02:00
2014-07-28 17:05:59 +02:00
2014-07-28 17:05:57 +02:00
2010-01-21 10:16:05 +00:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%