]> Zhao Yanbai Git Server - minix.git/commit
VFS: fix interruption of blocking pipe operations 54/954/2
authorDavid van Moolenbroek <david@minix3.org>
Wed, 28 Aug 2013 11:08:16 +0000 (13:08 +0200)
committerLionel Sambuc <lionel@minix3.org>
Tue, 18 Feb 2014 10:25:03 +0000 (11:25 +0100)
commit1e7b45c682c73790e20ea992ff153bef5ac8f0fc
treea03a5d28301c0b6286c67c45df6236d405b68a67
parent2af99c141d1afe1d03bf1c9107e258e6bf912414
VFS: fix interruption of blocking pipe operations

POSIX states that when interrupted, partially successful pipe
operations should return the partial result rather than EINTR. VFS
previously wouldn't look at the partial result, and not clear it
either, which would result in a panic upon the next pipe operation.

Change-Id: Ia1eb72b4b77394051444e63a1390d49bb315eb04
servers/vfs/pipe.c