[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081226085654.GE755@elte.hu>
Date: Fri, 26 Dec 2008 09:56:54 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Américo Wang <xiyou.wangcong@...il.com>
Cc: Oleg Nesterov <oleg@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>
Subject: Re: [Patch] signal: let valid_signal() check more
* Américo Wang <xiyou.wangcong@...il.com> wrote:
> >> @@ -727,7 +727,7 @@ int vt_ioctl(struct tty_struct *tty, struct file * file,
> >> {
> >> if (!perm || !capable(CAP_KILL))
> >> goto eperm;
> >> - if (!valid_signal(arg) || arg < 1 || arg == SIGKILL)
> >> + if (!valid_signal((int)arg) || arg == SIGKILL)
> > ^^^^^
> >
> >The patch adds a lot of unnecessary typecasts like this.
>
> because it's inline?
Why does your patch add a lot of seemingly unnecessary typecasts? [if your
short reply was supposed to be an answer to that question then please
explain it in more detail.]
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists