From owner-freebsd-standards Mon Nov 4 20:20: 4 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66E3337B401 for ; Mon, 4 Nov 2002 20:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C0443E4A for ; Mon, 4 Nov 2002 20:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA54K2x3087246 for ; Mon, 4 Nov 2002 20:20:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA54K2xf087245; Mon, 4 Nov 2002 20:20:02 -0800 (PST) Date: Mon, 4 Nov 2002 20:20:02 -0800 (PST) Message-Id: <200211050420.gA54K2xf087245@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Reply-To: Andriy Gapon Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR standards/43335; it has been noted by GNATS. From: Andriy Gapon To: Archie Cobbs Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: standards/43335: libc_r: execve() and close-on-exec flag, interrupted write() Date: Mon, 04 Nov 2002 23:10:35 -0500 (EST) On Mon, 4 Nov 2002, Archie Cobbs wrote: > I've committed fixes for the two write(2) bugs: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc_r/uthread/uthread_write.c.diff?r1=1.20&r2=1.21 > > I'll leave the execve() bug for others to consider; it's not clear > what the right thing is. Thanks a lot, Archie. execve() patch is to leave alone descriptors which have close-on-exec flag set, it must :-) be correct since from point of view of such descriptors there are no execs in the world. Thanks again. -- Andriy Gapon * "The worst part of communication is the illusion that it has actually occurred". M. Jenkins. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message