Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2008 08:56:19 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134070 for review
Message-ID:  <200801250856.m0P8uJP0000864@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134070

Change 134070 by jb@jb_freebsd1 on 2008/01/25 08:55:19

	Solaris must send signals from pid 0. Make this work on FreeBSD.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.sigwait.d#3 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/dtrace/test/tst/common/proc/tst.sigwait.d#3 (text+ko) ====

@@ -28,13 +28,13 @@
 
 #pragma D option destructive
 
-proc:::signal-send
-/pid == 0 && args[1]->pr_pid == $1 && args[2] == SIGUSR1/
+proc:::signal_send
+/args[1]->p_pid == $1 && args[2] == SIGUSR1/
 {
 	sent = 1;
 }
 
-proc:::signal-clear
+proc:::signal_clear
 /pid == $1 && args[0] == SIGUSR1 && sent/
 {
 	exit(0);



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