Files
linux/kernel
Eric W. Biederman 24122c7f49 signal: Pass pid and pid type into send_sigqueue
Make the code more maintainable by performing more of the signal
related work in send_sigqueue.

A quick inspection of do_timer_create will show that this code path
does not lookup a thread group by a thread's pid.  Making it safe
to find the task pointed to by it_pid with "pid_task(it_pid, type)";

This supports the changes needed in fork to tell if a signal was sent
to a single process or a group of processes.

Having the pid to task transition in signal.c will also make it easier
to sort out races with de_thread and and the thread group leader
exiting when it comes time to address that.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-07-21 10:43:12 -05:00
..
2018-06-15 18:10:01 -03:00
2018-06-12 16:19:22 -07:00
2018-07-21 10:43:12 -05:00
2018-06-12 16:19:22 -07:00
2018-06-15 18:10:01 -03:00
2018-03-15 20:34:40 +01:00
2018-04-27 14:34:51 +02:00
2018-07-21 10:43:12 -05:00
2018-07-21 10:43:12 -05:00
2018-01-05 18:43:00 +11:00
2018-07-21 10:43:12 -05:00
2018-06-12 16:19:22 -07:00
2018-06-07 16:56:28 -04:00
2018-06-12 16:19:22 -07:00