summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2020-11-08 09:50:58 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2020-11-08 09:50:58 +0000
commit8ec6c4a38bfc988f6300ed6c37a8db352f983329 (patch)
tree26625c8e87e0850ae4ca8b4474afa24cea88005d /share
parent83a252c6a15d44cd574a9ef9ba37a77a3464296f (diff)
downloadsrc-test-8ec6c4a38bfc988f6300ed6c37a8db352f983329.tar.gz
src-test-8ec6c4a38bfc988f6300ed6c37a8db352f983329.zip
- add more linux socket options (sorted by value)
- map those IPv4 / IPv6 socket options which exist in FreeBSD + most of them visually verified to have the same type/layout of arguments + not tested with linux programs to behave as intended - be more human readable for known options which are not handled - be more verbose for unhandled socket message flags we know about - print the jail ID in linux_msg if run in a jail - add possibility to print debug message about known missing parts only once - add multiple levels of sysctl linux.debug: 1: print debug messages, tell about unimplemented stuff (only once) 2: like 1, but also print messages about implemented but not tested stuff (only once) 3+: like 2, but no rate limiting of messages - increase default linux debug level from 1 to 3 We are a lot more verbose in as we need to be (e.g. some of the IP socket options which are the same, and share the same memory layout, and are believed to work). The reason is that we have no good testsuite to test those linux-bits. The LTP or other test suites like the python one, are not fully up to the task we need. As such the excessive messages about emulated but not tested socket options. IMO any MFC (possible, but most probably not by me) should set the default debug level to 1. Discussed with: trasz
Notes
Notes: svn path=/head/; revision=367481
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/linux.47
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man4/linux.4 b/share/man/man4/linux.4
index 92af73dccac0f..23bc0c26f7f9c 100644
--- a/share/man/man4/linux.4
+++ b/share/man/man4/linux.4
@@ -98,7 +98,12 @@ tunables:
.It Va compat.linux.debug
Enable debugging messages.
Set to 0 to silence them.
-Defaults to 1.
+Defaults to 3.
+A setting of 1 prints debug messages, tells about unimplemented stuff (only
+once).
+Set to 2 is like 1, but also prints messages about implemented but not tested
+stuff (only once).
+Setting it to 3 or higher is like 2, but no rate limiting of messages.
.It Va compat.linux.default_openfiles
Default soft openfiles resource limit for Linux applications.
Set to -1 to disable the limit.