git: 37671ee46dbf - stable/13 - linux: Make compat.linux.preserve_vstatus default to 1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Feb 2022 15:10:30 UTC
The branch stable/13 has been updated by trasz:
URL: https://cgit.FreeBSD.org/src/commit/?id=37671ee46dbfba7ebb55eca096a5faabf2b43abd
commit 37671ee46dbfba7ebb55eca096a5faabf2b43abd
Author: Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2022-01-17 08:44:58 +0000
Commit: Edward Tomasz Napierala <trasz@FreeBSD.org>
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");