Messages in this thread | | | Date | Tue, 3 Jun 2014 22:03:22 +0200 | From | Oleg Nesterov <> | Subject | Re: [BUG] signal: sighand unprotected when accessed by /proc |
| |
Damn, sorry for noise...
On 06/03, Oleg Nesterov wrote: > > I'll try to recheck rt_mutex_unlock() tomorrow. _Perhaps_ rcu_read_unlock() > should be shifted from lock_task_sighand() to unlock_task_sighand() to > ensure that rt_mutex_unlock() does nothihg with this memory after it > makes another lock/unlock possible.
I meant, we need to ensure it does nothing with this memory, otherwise we need to delay rcu_read_unlock() till unlock_task_sighand().
Oleg.
| |