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)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to