]> git.baikalelectronics.ru Git - kernel.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)
commit570d0474538fa057409dc3e6c0591f17177700a5
treed9ba70b160b7df23dea33e5c8e83119ecdca7332
parentacf932b66de8a33ef13ef247f07a976f172ee8f6
[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