From owner-cvs-all Wed Jul 25 8:16:47 2001 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E947037B735; Wed, 25 Jul 2001 08:14:30 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f6PEdtF60583; Wed, 25 Jul 2001 08:39:55 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f6PEdro07401; Wed, 25 Jul 2001 08:39:54 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200107251439.f6PEdro07401@harmony.village.org> To: Bruce Evans <bde@zeta.org.au> Subject: Re: cvs commit: src/lib/libc/sys sigaction.2 Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Kris Kennaway <kris@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-reply-to: Your message of "Wed, 25 Jul 2001 19:05:17 +1000." <Pine.BSF.4.21.0107251900590.48176-100000@besplex.bde.org> References: <Pine.BSF.4.21.0107251900590.48176-100000@besplex.bde.org> Date: Wed, 25 Jul 2001 08:39:53 -0600 From: Warner Losh <imp@harmony.village.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: <cvs-all.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20cvs-all> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20cvs-all> X-Loop: FreeBSD.ORG In message <Pine.BSF.4.21.0107251900590.48176-100000@besplex.bde.org> Bruce Evans writes: : > Are these functions officially signal-safe, or just signal-safe in our : > particular implementation? : : Only in our implementation. It's hard to see how strcpy() could be : signal-unsafe, but POSIX doesn't require it to be signal-safe. Strcpy isn't atomic. So if the source string changes in a signal handler, unpredictable results will ensue. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message