From nobody Fri Jun 16 14:26:46 2023 X-Original-To: dev-commits-doc-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 4QjM122Rjqz4fBFF for ; Fri, 16 Jun 2023 14:26:46 +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 4QjM12205Lz41yP; Fri, 16 Jun 2023 14:26:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686925606; 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=KZXg81r7ku9vLe/wL+KR4eiFh1OW4286LxVFE93vdRA=; b=JusgDjb9T1yyHLA/kwkp+fcwQdhNYLpRUHLV5fCqQHc2v0u7zfuuyTOInLpMf7FbrnzZ6N FgChNEgZdP7abVzPYsYUeMkPVFh+RQ/+9gX1cCoTqHt4QqUXH0m+YeANKELwgjmu+97itq wyZer30mIEq3BwLWQAxeXdswmNRBJRCmjjE9OdV+izz627KlWKebS7qPn9IfbgK3U2T++v DY86bW6EofZtW5Bsyll+XjaUxgFv3vEzUV2ygYex2nMgWSpa3JXcOgsHW+9M1+ZYR1PIsm MBX7c6GSC/uaDikt9EhegGmU3H2oLwJHntSXDtkSZ1MdIDqLfK+a5lShlJYD/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686925606; 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=KZXg81r7ku9vLe/wL+KR4eiFh1OW4286LxVFE93vdRA=; b=rE+osqYPyto+RNrYYNHt6U/TzqduWkjC/p6+KW6JuK8j0v7ncu9tMIWfumx9HJDqiuN5Bl jMZG+hsbd67lABlN9IMJ4PwtR6eeglgYC0NHUPKz9DsmJWb+fWOpGKGIWoBa9DK07fOPwc ixCP6TWOl0gfkQahGDxBbpD/vjJVvxhI+xQ3eSWJ5rFlOEZWu8CVTkEjqmkweG3LBhr0H1 DW0JgPTwpyoc9LauzZbxdERxFW63qGFmiqTrzdc7y4fIPVJNOThZQ8D2QDamEmTKQOjsE1 eSYGngud6tHAPWnZd8RYb7v2JkKdyjAa3ROj8Lb/PWCtTNelVoWIF3F0Rf4LQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686925606; a=rsa-sha256; cv=none; b=KK7LDIpYuNr89N6Ei/4JGqoZMW+ntfAzF5o6zKA7uV9DL76yuQZbe7TWNa/punx5T9AD8R n/iAK82izWU5692NaB8b6koRHt/wEvwhCqFjq4yZSgGYvdiw02ti0om9V7xn/M3WGKDm+x pi+6grythnKfI0WXf9Q0Rys/5x5/xK8kIj86gfF9ZkSv+uXSpTYHWgXfVXg1uQeUPieE4w nIXWiyZVvevppAuNOrXcYWbyXFfmYA68ob3krqX5CKRLopUMwM/LlUKOBzJi3UzSXguVpZ qbGqQgLZV2Tqqxj8gep2hVZZGVKvgDd9FlUPcdLgvG0dTuO6HhvnHIa43Pcb7w== 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 4QjM1212mtzWwt; Fri, 16 Jun 2023 14:26:46 +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 35GEQkNI042130; Fri, 16 Jun 2023 14:26:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35GEQkXJ042129; Fri, 16 Jun 2023 14:26:46 GMT (envelope-from git) Date: Fri, 16 Jun 2023 14:26:46 GMT Message-Id: <202306161426.35GEQkXJ042129@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Dmitry Chagin Subject: git: c8d4a2ca1a - main - Linux emulation q2 2023 report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c8d4a2ca1a814ddfeb88b016161d2574b713cbda Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/doc/commit/?id=c8d4a2ca1a814ddfeb88b016161d2574b713cbda commit c8d4a2ca1a814ddfeb88b016161d2574b713cbda Author: Dmitry Chagin AuthorDate: 2023-06-16 14:23:54 +0000 Commit: Dmitry Chagin CommitDate: 2023-06-16 14:23:54 +0000 Linux emulation q2 2023 report Reviewed by: carlavilla, salvadore Differential Revision: https://reviews.freebsd.org/D40560 --- .../en/status/report-2023-04-2023-06/linuxulator.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/website/content/en/status/report-2023-04-2023-06/linuxulator.adoc b/website/content/en/status/report-2023-04-2023-06/linuxulator.adoc new file mode 100644 index 0000000000..9606680c33 --- /dev/null +++ b/website/content/en/status/report-2023-04-2023-06/linuxulator.adoc @@ -0,0 +1,19 @@ +=== Linux compatibility layer update + +Links: + +link:https://wiki.freebsd.org/Linuxulator[Linuxulator status Wiki page] URL: link:https://wiki.freebsd.org/Linuxulator[] + +link:https://wiki.freebsd.org/LinuxApps[Linux app status Wiki page] URL: link:https://wiki.freebsd.org/LinuxApps[] + +Contact: Dmitry Chagin + +The goal of this project is to improve FreeBSD's ability to execute unmodified man:linux[4] binaries. + +As of gitref:cbbac5609115[repository=src], preserving of an fpu xsave state across signal delivery on amd64 is implemented. +That is made possible to run modern golang with preemptive scheduler on. + +The new facility to specify an alternate ABI root path was added to the man:namei[9]. +Previously, to dynamically reroot lookups, every man:linux[4] syscall where path names translation is needed required a bit of ugly code and used `kern_alternate_path()` which does not properly resolved symlinks with leading `/` in the target. +For now a non-native ABI (i.e., man:linux[4]) uses one call to `pwd_altroot()` during exec-time into that ABI to specify it's root directory (e.g., [.filename]#/compat/ubuntu#) and forget about path names translation. +That is made possible to chroot into the Ubuntu compat without having to fix such symlinks by hand. + +In total, over 10 bugs were fixed; glibc-2.37 tests suite reports less than 70 failed tests.