Re: [PATCH] android: task_get_unused_fd_flags: fix the wrong usageof tsk->signal

From: Greg KH
Date: Sun Jan 18 2009 - 13:32:23 EST


On Sun, Jan 18, 2009 at 06:17:20PM +0100, Oleg Nesterov wrote:
> Compile tested.
>
> task_struct->signal is not protected by RCU, the code is bogus.
> Change the code to take ->siglock to pin ->signal.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

Thanks for the fix, I'll queue it up next week.

greg k-h
--
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/