Date: Mon, 30 Aug 2010 10:59:45 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211982 - head/sbin/hastd Message-ID: <20100830075945.GS2396@deviant.kiev.zoral.com.ua> In-Reply-To: <201008300006.o7U065Nu078151@svn.freebsd.org> References: <201008300006.o7U065Nu078151@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--ijmMUc01C7g2hQX3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 30, 2010 at 12:06:05AM +0000, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Mon Aug 30 00:06:05 2010 > New Revision: 211982 > URL: http://svn.freebsd.org/changeset/base/211982 >=20 > Log: > Use sigtimedwait(2) for signals handling in primary process. > This fixes various races and eliminates use of pthread* API in signal h= andler. Replying to the random commit. In the multithreaded process, after the fork in the child, you shall not call any not async-signal safe functions. I suppose that hook_execv() exposes the issue, calling into some stdio functions and sysconf(). --ijmMUc01C7g2hQX3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkx7ZPEACgkQC3+MBN1Mb4jn1gCfV1x3LZxTn2tHTSLtTUc1hNa3 UB0Anj3R8XTolGSLCCP52gzqosFO+RUI =DUjF -----END PGP SIGNATURE----- --ijmMUc01C7g2hQX3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100830075945.GS2396>