svn commit: r293554 - stable/10/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sat Jan 9 16:58:05 UTC 2016


Author: dchagin
Date: Sat Jan  9 16:58:03 2016
New Revision: 293554
URL: https://svnweb.freebsd.org/changeset/base/293554

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

Modified:
  stable/10/sys/compat/linux/linux_fork.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/compat/linux/linux_fork.c
==============================================================================
--- stable/10/sys/compat/linux/linux_fork.c	Sat Jan  9 16:57:03 2016	(r293553)
+++ stable/10/sys/compat/linux/linux_fork.c	Sat Jan  9 16:58:03 2016	(r293554)
@@ -329,7 +329,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