Message ID | Pine.LNX.4.64.0904241249180.20196@blonde.anvils (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Fri, Apr 24, 2009 at 12:55:44PM +0100, Hugh Dickins wrote: > Indeed, thanks for the headsup Stephen. My own config gives, not > Sachin's message (or not still visibly on screen anyway), but an > outright panic. Shame that leaked out into the big world, we'd > all have preferred a quiet fixup! Here's a patch, which I'll > also send as reply to the relevant thread. Applied, will fold on reorder (since Ingo is asking for what will amount to reorder anyway).
Hi Al, On Fri, 24 Apr 2009 15:04:45 +0100 Al Viro <viro@ZenIV.linux.org.uk> wrote: > > Applied, will fold on reorder (since Ingo is asking for what will amount > to reorder anyway). Thanks.
--- 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(); if (p->fs->users > n_fs) { bprm->unsafe |= LSM_UNSAFE_SHARE;