From nobody Fri Feb 18 15:10:30 2022 X-Original-To: dev-commits-src-branches@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 2F95A19DBEC8; Fri, 18 Feb 2022 15:10:32 +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 4K0ZrR1dFCz3KNp; Fri, 18 Feb 2022 15:10:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645197031; 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=N6515YA3Qov/I9B7pc3XVbjbUWKlgv9HPpSrRUh6Ywg=; b=rOIcvnXQ0dBNj0VgqQpqMyQJkx5gQMdjAxniHHTwn8AJ2Wz9JbHOwxsxx8v9j3wmKGSDkR Fo4HSeuZTT6DYemfEZ/d4N6DDKUYZRgoTujqkT3xdJ1NREQG4MMCup1KCh5Yqf/88uL7Y4 oonrr0WPrMvQPSOsifkFErjVKFRvYpgPipjY473YL9qdH7ocw1LbJ9EX3LV/Mmi66Lvazm MGKNC3I4mbU74aenjgAk6bsO8f44p27LrVPX+QZRXppG2EO0fx23jbEcgc4E1kA14MC/+x pLcs7mkT4O5HP1UEwppftYIq9lZeh4cNjNEuvpq+7G2FTwW9AuaEkw2JfghcLQ== 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 DEF2E1F82D; Fri, 18 Feb 2022 15:10:30 +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 21IFAU9o000719; Fri, 18 Feb 2022 15:10:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21IFAUM3000718; Fri, 18 Feb 2022 15:10:30 GMT (envelope-from git) Date: Fri, 18 Feb 2022 15:10:30 GMT Message-Id: <202202181510.21IFAUM3000718@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Edward Tomasz Napierala Subject: git: 37671ee46dbf - stable/13 - linux: Make compat.linux.preserve_vstatus default to 1 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: trasz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 37671ee46dbfba7ebb55eca096a5faabf2b43abd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645197031; 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=N6515YA3Qov/I9B7pc3XVbjbUWKlgv9HPpSrRUh6Ywg=; b=FFfyVg/siOQw9TSvahTh3JIV9thHy1djpw31UpcUIt5ApyPNQaCKOcgCb2dXlIETMDsf3s gZ82iXSzJM/lmHhRLZdGoBnZjiZHNqTYz6c0dRTGUupzG/U03SVRhlnvOIzhDXfvtd+4mH 30V7+sz9fNpgmuJ9ntzRKF+WFsLXy1etjFgSHnuJg0l90wzdBOwEG/XkaZvRlHAEBrZ3My M4n1oQU8fApq/2ypBYcOu1woo06Q9/4U4KwLU4ud6gkDcitsfQp2VktL+6DGiyr+lH1IqI gg1+HhG36/PKPxXaEGxhMbD+anxRbwMU5sKIN7et1gk2+0YNjkFvMUqNQz1B/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645197031; a=rsa-sha256; cv=none; b=P8pNaTcbW6+e0JB+NjjAIN7iLTbWuvB0reMhejsJ6QGdaT52f6ycMYHBaNe3fkgmXZnI9n kDU8uyCH1muD9tpa8CqeNxuq2xKHyzQ4oNlqSAZHMa5yryA0NJ6QsSA53BgOyuNJziXdxK zLLWWEaO7KCy7v3Ve4pqgtItVytodUP/W3LODxnpAfeGmBMby21z/W9TgnlDCNwbfqC7wC x/68A7Ymk/a+Q7GI7fV+3RQuy/P3S2IMiba7dxGj8dXnzU2uWXkZRDFHNpkHnKnxc60HAk vySs9e6Ecbgfu9fVYvhd4rLZxBQ4KxBvQ8GzuHmgFaZSV1R8D7ghnJQztC0p2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=37671ee46dbfba7ebb55eca096a5faabf2b43abd commit 37671ee46dbfba7ebb55eca096a5faabf2b43abd Author: Edward Tomasz Napierala AuthorDate: 2022-01-17 08:44:58 +0000 Commit: Edward Tomasz Napierala CommitDate: 2022-02-14 19:35:25 +0000 linux: Make compat.linux.preserve_vstatus default to 1 From a user point of view, this makes ^T work out of the box. Reviewed By: debdrup (man page) Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D33842 (cherry picked from commit b896bdb86d832d07ae397b340a56beb1a14ff980) --- share/man/man4/linux.4 | 2 +- sys/compat/linux/linux_mib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man4/linux.4 b/share/man/man4/linux.4 index 6054ae1aa455..ee2629092100 100644 --- a/share/man/man4/linux.4 +++ b/share/man/man4/linux.4 @@ -132,7 +132,7 @@ VSTATUS setting. From a user perspective, this makes .Va SIGINFO work for Linux executables. -Defaults to 0. +Defaults to 1. .It Va compat.linux.setid_allowed Enable handling of set-user-ID and set-group-ID mode bits for the new process image file when image is to be executed under Linux ABI. diff --git a/sys/compat/linux/linux_mib.c b/sys/compat/linux/linux_mib.c index 13beba323787..ed1bdc528278 100644 --- a/sys/compat/linux/linux_mib.c +++ b/sys/compat/linux/linux_mib.c @@ -86,7 +86,7 @@ int linux_ignore_ip_recverr = 1; SYSCTL_INT(_compat_linux, OID_AUTO, ignore_ip_recverr, CTLFLAG_RWTUN, &linux_ignore_ip_recverr, 0, "Ignore enabling IP_RECVERR"); -int linux_preserve_vstatus = 0; +int linux_preserve_vstatus = 1; SYSCTL_INT(_compat_linux, OID_AUTO, preserve_vstatus, CTLFLAG_RWTUN, &linux_preserve_vstatus, 0, "Preserve VSTATUS termios(4) flag");