um: separate child and parent errors in clone stub
If the two are mixed up, then it looks as though the parent returned an error if the child failed (before) the mmap(), and then the resulting process never gets killed. Fix this by splitting the child and parent errors, reporting and using them appropriately. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
committed by
Richard Weinberger
parent
a7d48886ca
commit
84b2789d61
@@ -11,7 +11,7 @@
|
||||
struct stub_data {
|
||||
unsigned long offset;
|
||||
int fd;
|
||||
long err;
|
||||
long parent_err, child_err;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user