summaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-01-03 23:43:41 +0000
committerColin Watson <cjwatson@debian.org>2022-01-03 23:43:42 +0000
commit877bb58741a7d370aca0524370dfe59a70c1a064 (patch)
tree50f250bb4a4b1c7eec074d6e058739aa5b1ae129 /man/man1
parentc7d5b636c309e25959bc70e0ddb9d293d846f55c (diff)
Document MAN_DISABLE_SECCOMP and PIPELINE_DEBUG
Fixes Debian bug #941622. * man/man1/man.man1 (ENVIRONMENT): Document MAN_DISABLE_SECCOMP and PIPELINE_DEBUG. * man/po4a/po/man-db-manpages.pot, man/po4a/po/*.po: Update. * NEWS: Document this.
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/man.man120
1 files changed, 20 insertions, 0 deletions
diff --git a/man/man1/man.man1 b/man/man1/man.man1
index f2b7080a..76bfbb68 100644
--- a/man/man1/man.man1
+++ b/man/man1/man.man1
@@ -1219,6 +1219,26 @@ However, some users want to see them anyway, so, if
.RB $ MAN_KEEP_STDERR
is set to any non-empty value, error output will be displayed as usual.
.TP
+.if !'po4a'hide' .B MAN_DISABLE_SECCOMP
+On Linux,
+.B %man%
+normally confines subprocesses that handle untrusted data using a
+.BR seccomp (2)
+sandbox.
+This makes it safer to run complex parsing code over arbitrary manual pages.
+If this goes wrong for some reason unrelated to the content of the page
+being displayed, you can set
+.RB $ MAN_DISABLE_SECCOMP
+to any non-empty value to disable the sandbox.
+.TP
+.if !'po4a'hide' .B PIPELINE_DEBUG
+If the
+.RB $ PIPELINE_DEBUG
+environment variable is set to "1", then
+.B %man%
+will print debugging messages to standard error describing each subprocess
+it runs.
+.TP
.if !'po4a'hide' .BR LANG , " LC_MESSAGES"
Depending on system and implementation, either or both of
.RB $ LANG