From 0e434375e13229fc3020d755918f26de9bff0733 Mon Sep 17 00:00:00 2001 From: dchagin Date: Sun, 24 May 2015 16:56:32 +0000 Subject: td_sigmask of a newly created thread copied from td. Remove excess initialization of td_sigmask. Differential Revision: https://reviews.freebsd.org/D1128 Reviewed by: emaste --- sys/compat/linux/linux_fork.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/compat/linux/linux_fork.c') diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c index ce9744d..dd7c7e4 100644 --- a/sys/compat/linux/linux_fork.c +++ b/sys/compat/linux/linux_fork.c @@ -328,7 +328,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) -- cgit v1.1