From nobody Tue Dec 28 15:01:14 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 0D2A819117EC; Tue, 28 Dec 2021 15:01:15 +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 4JNd5k5VGYz4dqt; Tue, 28 Dec 2021 15:01:14 +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 9D3971360C; Tue, 28 Dec 2021 15:01:14 +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 1BSF1EQe025170; Tue, 28 Dec 2021 15:01:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BSF1EUD025169; Tue, 28 Dec 2021 15:01:14 GMT (envelope-from git) Date: Tue, 28 Dec 2021 15:01:14 GMT Message-Id: <202112281501.1BSF1EUD025169@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: 3f649694a811 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 3f649694a8114320bf61e16c12130cdc48d79b96 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640703674; 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=lv1/v5rr4LNfsc0aO+n5wQtmeXdWYpp2Q+iuvGbe9n4=; b=ZVoJfzA9uBrAsYbCl58/SC8RmLBnDxOIngFlMFE2Vssy2vDRU6cSVkBW8eUwXQTmjptfV/ fGe9eqVq/Et4xZvuhV1lcIqCX9hSvnoWv1hKWtmsriUW/BhsThjNLycqH0sG4zu6Km7Nyh sIpGr33XXv3UmDtsNfxwTdft0fy86x10ebv99if8P4+E/EqBWqHD8+FhVTGndOJUmlTfdu MMHS5vhPp7FkjZZC5GqymX3CcMTUkvNXw2ArHQYovYL3mYa7o9o0BaAC9P/Zh7BLfSfek0 hAf06MWtNwCXfrV4dyUBO20pwCEVNuu3ASYh+9QNgo7IqC8ExI+4N/8gbouQLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640703674; a=rsa-sha256; cv=none; b=YLYfj5xe1tDqiwbgPhE0PgulmXfwVs8Ikqjp/ZlC6dbbXDjcp6j4QXl9vPQJ1O/R2jxQWH My4A+axWPuL6cgaqxQAhbrsMX3VszN2iHMyQjnVtRbpwz2SBa/NBt57yL3L+yfY3WnkDn/ aK7SlBwG1jw3+rliW5S8shk1wwI/I4AFIB5E/xSDoTKnTmWjC29/3q21O6rTbFfyugBXzY YlwIira+7yBYMe9RA1e72QXgocEd2HDK3390kJJCPB7J8LjH9k4u75zJeIMuJaVVvgDiE1 5XLZ0dM2ZrwuV7OKNkuo8waa8eYcwABI1a6mW63Ris53mCnmkDp5JSDnM+UNQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3f649694a8114320bf61e16c12130cdc48d79b96 commit 3f649694a8114320bf61e16c12130cdc48d79b96 Author: Mark Johnston AuthorDate: 2021-12-06 23:02:25 +0000 Commit: Mark Johnston CommitDate: 2021-12-28 15:01:02 +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 210186e2eb38..1807a44a3519 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -66,6 +66,7 @@ INTERPOSED = \ nanosleep \ open \ openat \ + pdfork \ poll \ ppoll \ pselect \