svn commit: r283450 - head/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sun May 24 16:56:33 UTC 2015


Author: dchagin
Date: Sun May 24 16:56:32 2015
New Revision: 283450
URL: https://svnweb.freebsd.org/changeset/base/283450

Log:
  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

Modified:
  head/sys/compat/linux/linux_fork.c

Modified: head/sys/compat/linux/linux_fork.c
==============================================================================
--- head/sys/compat/linux/linux_fork.c	Sun May 24 16:55:32 2015	(r283449)
+++ head/sys/compat/linux/linux_fork.c	Sun May 24 16:56:32 2015	(r283450)
@@ -328,7 +328,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)


More information about the svn-src-all mailing list