Re: Can not get output of command line on SH

From: Paul Mundt
Date: Mon Sep 03 2012 - 00:25:44 EST


On Mon, Sep 03, 2012 at 11:56:59AM +0900, Nobuhiro Iwamatsu wrote:
> On Fri, Aug 31, 2012 at 10:10 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> > Smells like broken TIF_NOTIFY_RESUME hookup on sh... Arrrgh. Looks like
> > while it is in the relevant masks *and* checked in do_notify_resume() both
> > on 32bit and 64bit variants since commit ab99c733ae73cce31f2a2434f7099564e5a73d95
> > Author: Paul Mundt <lethal@xxxxxxxxxxxx>
> > Date: Wed Jul 30 19:55:30 2008 +0900
> >
> > sh: Make syscall tracer use tracehook notifiers, add TIF_NOTIFY_RESUME.
> >
> > they are actually *not* reached without simulataneous SIGPENDING, since the
> > actual glue in the callers had not been updated back then and still checks
> > for _TIF_SIGPENDING alone when deciding whether to hit do_notify_resume()
> > or not. Looks like the following ought to fix that:
>
> Thanks for your reply and explanation.
> I confirmed that revise this problem with your patch.
>
> >
> > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Tested-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@xxxxxxxxxxx>
>
I'll queue it up, thanks!
--
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/