fork: Skip setting TIF_SIGPENDING in ptrace_init_task
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 4 Aug 2018 01:10:54 +0000 (20:10 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 4 Aug 2018 01:10:54 +0000 (20:10 -0500)
commit4390e9eadbbb6774b7ba03fde0a0fdf3f07db4cd
tree933ab6295369efb2480129ae657711d5c3a8a64e
parent088fe47ce952542389e604e83f533811750aaf7c
fork: Skip setting TIF_SIGPENDING in ptrace_init_task

The code in calculate_sigpending will now handle this so
it is just redundant and possibly a little confusing
to continue setting TIF_SIGPENDING in ptrace_init_task.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/ptrace.h