OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 1/2] signals: kill(-1) should only signal processes in the same namespace
Re: [PATCH 1/2] signals: kill(-1) should only signal processes in the same namespace [message #32040 is a reply to message #32038] Thu, 17 July 2008 17:50 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Oleg Nesterov <oleg@tv-sign.ru> writes:

> kill_something_info() can't walk threads, think about the realtime signals.

walking threads is fine delivering signals to non thread group leaders is
a problem.

> Anyway, I think we should change kill_something_info(-1) to use rcu_read_lock()
> instead of tasklist.

Being dense I think the locking implications of a correct implementation are more
then we are ready to deal with to fix this bug.  Although I remember discussing
it and seeing something reasonable.

Eric

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Roadmap for features planed for containers where and Some future features ideas.
Next Topic: [PATCH] [openvz] printk: Handle global log buffer reallocation
Goto Forum:
  


Current Time: Sun Jul 27 06:44:15 GMT 2025

Total time taken to generate the page: 0.59243 seconds