Date: Mon, 5 Oct 2009 14:59:00 GMT From: Stanislav Sedov <stas@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 169228 for review Message-ID: <200910051459.n95Ex0kd097529@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=169228 Change 169228 by stas@stas_yandex on 2009/10/05 14:58:11 - Correct the detection of signal source. Affected files ... .. //depot/projects/valgrind/coregrind/m_signals.c#14 edit Differences ... ==== //depot/projects/valgrind/coregrind/m_signals.c#14 (text+ko) ==== @@ -1407,7 +1407,7 @@ // them. return ( si_code > VKI_SI_USER ? True : False ); #elif defined(VGO_freebsd) - return ( si_code < VKI_SI_USER ? True : False ); + return ( (si_code & VKI_SI_USER) == 0 ? True : False ); #elif defined(VGO_darwin) // On Darwin 9.6.0, the si_code is completely unreliable. It should be the // case that 0 means "user", and >0 means "kernel". But:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910051459.n95Ex0kd097529>
