Re: call_usermodehelper does not report exit status?

From: Andrew Morton
Date: Thu Sep 25 2003 - 14:26:24 EST


Chris Wright <chrisw@xxxxxxxx> wrote:
>
> Anything wrong with just setting a SIG_DFL handler?

Seems that any time we make a change here it looks fine, tests out fine,
and explodes messily three weeks later.

> W.R.T. the kernel
> pointer, either Andrew's patch which does put_user/__put_user depending
> on context, or some ugly set_fs() should work. This simplistic approach
> works for me, thoughts?

Yes, set_fs() is better.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/