From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 14 07:49:52 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 816F4106566B for ; Fri, 14 Sep 2012 07:49:52 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 43C5A8FC08 for ; Fri, 14 Sep 2012 07:49:52 +0000 (UTC) Received: from [192.168.1.18] (unknown [217.157.7.221]) by csmtp2.one.com (Postfix) with ESMTPA id D02FB3077836 for ; Fri, 14 Sep 2012 07:49:44 +0000 (UTC) From: Erik Cederstrand Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <035514CA-81D6-407F-A2C1-51A9FB0E3A74@cederstrand.dk> Date: Fri, 14 Sep 2012 09:49:45 +0200 To: "freebsd-hackers@freebsd.org" Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) X-Mailer: Apple Mail (2.1486) Subject: Change vfork() to posix_spawn()? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2012 07:49:52 -0000 Hello hackers, I'm looking through the Clang Analyzer scans on = http://scan.freebsd.your.org/freebsd-head looking for false positives to = report back to LLVM. There are quite a list of reports suggesting to = change vfork() calls to posix_spawn(). Example from /bin/rpc: = http://scan.freebsd.your.org/freebsd-head/bin.rcp/2012-09-12-amd64/report-= nsOV80.html#EndPath I know nothing about this but I can see fork and posix_spawn have been = discussed on this list previously. Is this a legitimate warning (in this = case and in general in FreeBSD base)? Thanks, Erik=