]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] uml: Fix handling of failed execs of helpers
authorJeff Dike <jdike@addtoit.com>
Tue, 26 Sep 2006 06:33:02 +0000 (23:33 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:49:06 +0000 (08:49 -0700)
commit6b7aaad9ba4f2a059a70014be12a921eceebfc47
treed9ba70b160b7df23dea33e5c8e83119ecdca7332
parent5e1f65a67d76341795ea527d30bfdca03999d46b
[PATCH] uml: Fix handling of failed execs of helpers

There were some bugs in handling failures to exec helper programs.  errno was
passed back from the child with the wrong sign.  It was also ignored.  In the
case where it mattered, the errno from the (successful) read in the parent was
used instead.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/os-Linux/helper.c