PERFORCE change 133156 for review
John Birrell
jb at FreeBSD.org
Sat Jan 12 20:14:43 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133156
Change 133156 by jb at jb_freebsd1 on 2008/01/13 04:14:09
Add another sigaction for SIGUSR1 which we use instead of SIGCANCEL
(which seems to be defined and used privately in libthr ??????)
Affected files ...
.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/dtrace/dtrace.c#14 edit
Differences ...
==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/dtrace/dtrace.c#14 (text) ====
@@ -1829,6 +1829,11 @@
if (sigaction(SIGTERM, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
(void) sigaction(SIGTERM, &act, NULL);
+#if !defined(sun)
+ if (sigaction(SIGUSR1, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN)
+ (void) sigaction(SIGUSR1, &act, NULL);
+#endif
+
/*
* Now that tracing is active and we are ready to consume trace data,
* continue any grabbed or created processes, setting them running
More information about the p4-projects
mailing list