From nobody Mon Dec 13 13:28:48 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2B38918F4D7A; Mon, 13 Dec 2021 13:28:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JCMm13nd6z4s2b; Mon, 13 Dec 2021 13:28:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 10969156AB; Mon, 13 Dec 2021 13:28:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BDDSmvw000861; Mon, 13 Dec 2021 13:28:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BDDSm8P000860; Mon, 13 Dec 2021 13:28:48 GMT (envelope-from git) Date: Mon, 13 Dec 2021 13:28:48 GMT Message-Id: <202112131328.1BDDSm8P000860@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: a5659943e37a - stable/13 - libc: Add pdfork to the list of interposed system calls List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a5659943e37a74c96eae5cbb5f83237c7f07f848 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639402130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=um9+0TfULVMc4OJzN7cXVgAsApLAZkiYiq8epc5Lvok=; b=S9uNuul8GXFiSJNy+56sG2DfKYKmvQbDNr5+KfQ0n8fRnMD9fSVd3Txb9ODxgTiH3GBToq XbNZlgU7c7vtwoBC59tdtPK5TccIGx1srbxHpIV2eYiHY+i5tIemZcB65zIMQR1n6r8/nH fo2EvX+747By8rZYQyLAura7PIdF2DOS+DLGrqSqpMnUwhA/PQPbMDSQr6Yko5nVbTIF7T /y+FS6fTYlDerZH02cDupfJ5WOXVmnecuNr3yyzetszqodnOvfQh2/lNJ4feKV7QYJCc/A w5DbRfKTFaHo4xbE1df9iiXPK93OXrE0Tt1jGdzgk92r4ZWJucz7sk0Rf17S7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639402130; a=rsa-sha256; cv=none; b=bOF6jTxAzYCVxQvy0GjJWI5yEmZ6buRsu4Z06PPFfqF2OYnf7dRoLv3JwJ+M26xAdLU1RQ J9h5r61WQmbZ3rS9EGJI4SedM8hvhBadCLgJwgB5pXZvFPFd1swi7beR7xDAr3TBaRodtf 8Mpkl6DEnxbM73BtzOUNjsXHgnJ2uym8sycguP+AIGktScX9UG8WB8AGMklvvzuJAyGOTZ wWpAmfO0EIbH6RQzWnPLTxSCqITEAZA+XEMNTQXYEOGUpVx8spC4RWYVIYtGqofkNw1HMV Y53atG+QrgQbPMrPAaVOtdPuxT/oXstLl1yf5LkE4QgJy5UuWnelnsBbf+cp4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=a5659943e37a74c96eae5cbb5f83237c7f07f848 commit a5659943e37a74c96eae5cbb5f83237c7f07f848 Author: Mark Johnston AuthorDate: 2021-12-06 23:02:25 +0000 Commit: Mark Johnston CommitDate: 2021-12-13 13:26:58 +0000 libc: Add pdfork to the list of interposed system calls Otherwise the asm stub is used and libthr interposition does not work. Reviewed by: kib Fixes: 21f749da82e7 ("libthr: wrap pdfork(2), same as fork(2).") Sponsored by: The FreeBSD Foundation (cherry picked from commit cbdec8db18b533f6d7be329da151d6b61df3f98b) --- lib/libc/sys/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index d2b39fe65c44..33e87e513b05 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -69,6 +69,7 @@ INTERPOSED = \ nanosleep \ open \ openat \ + pdfork \ poll \ ppoll \ pselect \