Re: [PATCH 3/2] check_unsafe_exec: rcu_read_unlock
From: Oleg Nesterov
Date: Fri Apr 24 2009 - 10:41:22 EST
On 04/24, Hugh Dickins wrote:
>
> --- 2.6.30-rc3-next-20090424/fs/exec.c 2009-04-24 12:23:43.000000000 +0100
> +++ linux/fs/exec.c 2009-04-24 12:26:10.000000000 +0100
> @@ -1043,7 +1043,7 @@ int check_unsafe_exec(struct linux_binpr
> if (t->fs == p->fs)
> n_fs++;
> }
> - rcu_read_lock();
> + rcu_read_unlock();
I'd say this change is not bad. Except it discloses the fact I didn't
bother to test my trivial patch.
Thanks a lot Hugh!!!
And my apologies to all.
Oleg.
--
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/