Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2014 20:56:30 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r274195 - user/dchagin/lemul/sys/compat/linux
Message-ID:  <201411062056.sA6KuUwr066454@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Thu Nov  6 20:56:29 2014
New Revision: 274195
URL: https://svnweb.freebsd.org/changeset/base/274195

Log:
  td_sigmask of a newly created thread copied from td.
  Remove excess initialization of td_sigmask.

Modified:
  user/dchagin/lemul/sys/compat/linux/linux_fork.c

Modified: user/dchagin/lemul/sys/compat/linux/linux_fork.c
==============================================================================
--- user/dchagin/lemul/sys/compat/linux/linux_fork.c	Thu Nov  6 20:53:23 2014	(r274194)
+++ user/dchagin/lemul/sys/compat/linux/linux_fork.c	Thu Nov  6 20:56:29 2014	(r274195)
@@ -332,7 +332,6 @@ linux_clone_thread(struct thread *td, st
 
 	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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411062056.sA6KuUwr066454>