From nobody Mon Jan 17 09:13:10 2022 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 0D4FF1975A41; Mon, 17 Jan 2022 09:13:11 +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 4JcmQt5smgz4vN2; Mon, 17 Jan 2022 09:13:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642410790; 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=9w+Ux/UmIwplkoZ6HF7m4csfExlHihTuSoxvffy3tog=; b=R8BiP3yLpKpJSTj8QAGvjQ4UmJKwxn3AanJyt0bAfFTyrkIf8sgWN3EuQJCx0XtIqHXN/P VVofztzRGVagQ0/P1Q1HSasuJ7jeOk/C/Pms3hfH53hRxZmwlMOI/P5DinvTlwVeRwmsZH 5Ok4QoFIubhZ45wkYElKWcSkYv1kJkZzQxu9xPzCEekRxmlwvonZZYYAJgIYDz5ppp/APE lF1NZkrzIVKGxzMw8Z57k4F0MPIHjVoJwQGFncZXPLa3O70VW5MWcTg4iaIaMRqCtelVQe /3tr6nDEK6aLY5yTZUC6v9PlmKp/W/+kk2HnoLEDywTgC0dayALRGH8d5Yr12A== 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 A24DC3312; Mon, 17 Jan 2022 09:13:10 +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 20H9DAeH042756; Mon, 17 Jan 2022 09:13:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20H9DAbP042755; Mon, 17 Jan 2022 09:13:10 GMT (envelope-from git) Date: Mon, 17 Jan 2022 09:13:10 GMT Message-Id: <202201170913.20H9DAbP042755@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Edward Tomasz Napierala Subject: git: b896bdb86d83 - main - linux: Make compat.linux.preserve_vstatus default to 1 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: trasz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b896bdb86d832d07ae397b340a56beb1a14ff980 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642410790; 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=9w+Ux/UmIwplkoZ6HF7m4csfExlHihTuSoxvffy3tog=; b=xhY+m9raNVWogp95GFrLVNyBVTKdlKKgnYHoKt/pOGtLQuZqeI2biTOWuNHQ9Od+ieMnHK vdyn/wVgm4opHmakGyCBTZd+ZqdOnRhFTNmvka+wAJjBDnjdtm06wgsGJZm+JIixH2c2Iy t1uhbxD2OWeoRhCoFFIvmP0Hj2vim6h9vIfkdXQhvKTFnUgKgpF8E6yEkeHKOVBH/ISnI0 xI2T/ZTqZUDLbs3DSdPnJkIV+VYdDjuN96pvrQjnFhHkoqe3e9ELU6q6rjbvn6lQktA5uv dLdPz50GiJTJIwQwHUlnQsK0Fzjzj4mdZcI441voT3q2PF2L+CHzRjXPqsFrhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642410790; a=rsa-sha256; cv=none; b=vsCThFqVacMK0JDt3IvDj3nd0jmuP7e5nWyFKysNuplTPaRcfUKSspbpKw8cCiFjKAR4o5 9kmXke1wRTECWRjXntqXXtId0xptm5dMy07Y728toduC9snFbseVDraaJdqaxtQHhsNm14 aD4oEaqNYArjB0GlHNkJ+thDHDdczBM/lDkUhkk6Vg74U6mh8DzZ+xKQz2kX5VOOLUcDLY r5Gi/9YmHS3VT6tTT+SiUkLNCO4p6LHqzWlAGUzBOCIyK/d+ZA5daO2XhKUBmzpaqSEoWL /uIIuHUtnvBf6uBoBZ1YbAaFGAH15+anALMfEEduxcxq7MUQdXwghFij/8jENA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=b896bdb86d832d07ae397b340a56beb1a14ff980 commit b896bdb86d832d07ae397b340a56beb1a14ff980 Author: Edward Tomasz Napierala AuthorDate: 2022-01-17 08:44:58 +0000 Commit: Edward Tomasz Napierala CommitDate: 2022-01-17 08:45:01 +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 --- 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");