20 Jul
2015
20 Jul
'15
19:40
On 07/20, Jiri Slaby wrote:
CC Oleg
On 07/13/2015, 12:51 AM, Patrick Donnelly wrote:
task_pgrp requires an rcu or tasklist lock to be obtained if the returned pid is to be dereferenced, which kill_pgrp does. Obtain an RCU lock for the duration of use.
Look like, this change is right. But perhaps we should a simple helper for drivers/tty/ which takes rcu lock, sends a signal to task_pgrp(current), and sets TIF_SIGPENDING? I won't insist of course, I am fine either way. Oleg. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org