summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 16:58:03 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 16:58:03 +0000
commitd2d5fcaa34593867706312f21bbe119477508fa1 (patch)
tree527284a41bc8f10658e1b9cc2216223b8b3c31fa /sys/compat
parent1a379079e7404deb4a9b82790d866e5da8ea9d83 (diff)
downloadFreeBSD-src-d2d5fcaa34593867706312f21bbe119477508fa1.zip
FreeBSD-src-d2d5fcaa34593867706312f21bbe119477508fa1.tar.gz
MFC r283450:
td_sigmask of a newly created thread copied from td. Remove excess initialization of td_sigmask.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_fork.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c
index f74c9a2..7227df5 100644
--- a/sys/compat/linux/linux_fork.c
+++ b/sys/compat/linux/linux_fork.c
@@ -329,7 +329,6 @@ linux_clone_thread(struct thread *td, struct linux_clone_args *args)
PROC_LOCK(p);
p->p_flag |= P_HADTHREADS;
- newtd->td_sigmask = td->td_sigmask;
bcopy(p->p_comm, newtd->td_name, sizeof(newtd->td_name));
if (args->flags & LINUX_CLONE_PARENT)
OpenPOWER on IntegriCloud