Eric W. Biederman 2118e1f53f posix-timers: Noralize good_sigevent
In good_sigevent directly compute the default return value as
"task_tgid(current)".  This is exactly the same as
"task_pid(current->group_leader)" but written more clearly.

In the thread case first compute the thread's pid.  Then veify that
attached to that pid is a thread of the current thread group.

This has the net effect of making the code a little clearer, and
making it obvious that posix timers never look up a process by a the
pid of a thread.

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-06 16:04:55 -07:00
2018-07-21 10:43:12 -05:00
2018-06-15 18:10:01 -03:00
\n
2018-06-17 05:06:18 +09: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-06-16 07:36:39 +09:00
2018-07-21 10:43:12 -05:00
2018-06-08 17:21:52 -07:00
2018-06-06 16:34:00 -07:00
2018-05-15 08:10:50 +02: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