Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 05:18:39 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r239555 - stable/9/sys/kern
Message-ID:  <201208220518.q7M5IdIL071494@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Aug 22 05:18:38 2012
New Revision: 239555
URL: http://svn.freebsd.org/changeset/base/239555

Log:
  MFC r239135:
  Always initialize pl_event.

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

Modified: stable/9/sys/kern/sys_process.c
==============================================================================
--- stable/9/sys/kern/sys_process.c	Wed Aug 22 05:15:21 2012	(r239554)
+++ stable/9/sys/kern/sys_process.c	Wed Aug 22 05:18:38 2012	(r239555)
@@ -1112,6 +1112,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;



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