svn commit: r239556 - stable/8/sys/kern

Konstantin Belousov kib at FreeBSD.org
Wed Aug 22 05:23:57 UTC 2012


Author: kib
Date: Wed Aug 22 05:23:56 2012
New Revision: 239556
URL: http://svn.freebsd.org/changeset/base/239556

Log:
  MFC r239135:
  Always initialize pl_event.

Modified:
  stable/8/sys/kern/sys_process.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/kern/   (props changed)

Modified: stable/8/sys/kern/sys_process.c
==============================================================================
--- stable/8/sys/kern/sys_process.c	Wed Aug 22 05:18:38 2012	(r239555)
+++ stable/8/sys/kern/sys_process.c	Wed Aug 22 05:23:56 2012	(r239556)
@@ -1156,6 +1156,7 @@ kern_ptrace(struct thread *td, int req, 
 #endif
 		pl = addr;
 		pl->pl_lwpid = td2->td_tid;
+		pl->pl_event = PL_EVENT_NONE;
 		pl->pl_flags = 0;
 		if (td2->td_dbgflags & TDB_XSIG) {
 			pl->pl_event = PL_EVENT_SIGNAL;


More information about the svn-src-stable mailing list