diff options
author | dchagin <dchagin@FreeBSD.org> | 2015-05-24 16:56:32 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2015-05-24 16:56:32 +0000 |
commit | 0e434375e13229fc3020d755918f26de9bff0733 (patch) | |
tree | dbde8a269407dacb462140eaf5d633ead55b3c96 /sys/compat/linux/linux_fork.c | |
parent | b8a41063059ea5383689780d12b7a7b0ef100f3e (diff) | |
download | FreeBSD-src-0e434375e13229fc3020d755918f26de9bff0733.zip FreeBSD-src-0e434375e13229fc3020d755918f26de9bff0733.tar.gz |
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
Diffstat (limited to 'sys/compat/linux/linux_fork.c')
-rw-r--r-- | sys/compat/linux/linux_fork.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |