From nobody Mon Dec 06 23:34:38 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 2DF6C18C997F; Mon, 6 Dec 2021 23:34:39 +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 4J7KXG4QyXz3pQs; Mon, 6 Dec 2021 23:34:38 +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 7412215485; Mon, 6 Dec 2021 23:34:38 +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 1B6NYcwg053779; Mon, 6 Dec 2021 23:34:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B6NYc7m053778; Mon, 6 Dec 2021 23:34:38 GMT (envelope-from git) Date: Mon, 6 Dec 2021 23:34:38 GMT Message-Id: <202112062334.1B6NYc7m053778@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: cbdec8db18b5 - main - 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/main X-Git-Reftype: branch X-Git-Commit: cbdec8db18b533f6d7be329da151d6b61df3f98b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638833678; 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=MEMIuy72I5xEhPt6neajN0dMJmx8dY6CztQGSP/T62Q=; b=r6S3OjqzwxFF+dYZjzPY7VhJCXRtul0sNkaWsuPUCRiGYbhFfqsCy46dnDAc0tLQYVeyDJ aylVA86KysQVHOkBbupmrt6OqBWa0J6lwp7wtOjksqwtZ6NYJAE2eraCC4w9wRZf6xR+lG 9+AsWgUnsEsIcmvfuBNKEFgVT+gYMuPv3A/Wz5IjPYYInUjke/EbH8Qa3BZ/r6J4sbl34a cCJ5erVJCZGHwGdHI50aA8vvztA6kdEaCWOhPmnvH5YiY7Ow6WHdfVOy47Ya4g2U7r9YkN 7ZPLdWLB8iXORnsg70PPdRg1H+AgOTdiKY7gtaCpa15QeAh1Y07Yw6QRqwDa8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638833678; a=rsa-sha256; cv=none; b=v6hCrjDkW6MrrVi3z5N7jNJhuSCN0qp7l0htTn4ILnRMaNbiEtlPPGv12+y90GVLUfl3Wl rxoVs3WBB3PEGHc4puL6SWdJXPJfWtpSgdawetzgdi8Ojv2nq6N7PG3LvVFaCCr/glpeZv 7KWqG7bA30wO89f1pyEJADSEQLKJbdNK0yMN5jJT15B8tclWLKhg5BLGxarqICKd52eWBg S3/C+Vwu9jNU2qYcot/7vWkJ9II+3mp+Z3C3JeHTMpERzXopu7clP+jc2QBJ3kNgb9LVco oauQ0ftA8v/LyMxL8A+M7JU8n8KjcnNgVQeMAmkTWxG1lmaaaSj2rSYyPE4Hqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=cbdec8db18b533f6d7be329da151d6b61df3f98b commit cbdec8db18b533f6d7be329da151d6b61df3f98b Author: Mark Johnston AuthorDate: 2021-12-06 23:02:25 +0000 Commit: Mark Johnston CommitDate: 2021-12-06 23:32:43 +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).") MFC after: 1 week Sponsored by: The FreeBSD Foundation --- 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 5c472f835029..14740b74d6b3 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -72,6 +72,7 @@ INTERPOSED = \ nanosleep \ open \ openat \ + pdfork \ poll \ ppoll \ pselect \