diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2022-02-10 02:26:53 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2022-02-14 20:50:17 +0100 |
commit | 6b22ce002f755e34e9a92ce5a41ffda0b729b892 (patch) | |
tree | 69133712ad84c6f941762bf4790f81971ec962aa /Documentation/dev-tools | |
parent | Merge branch 'pdf-conversion' into docs-next (diff) | |
download | linux-6b22ce002f755e34e9a92ce5a41ffda0b729b892.tar.xz linux-6b22ce002f755e34e9a92ce5a41ffda0b729b892.zip |
docs: Makefile: Add -no-shell-escape option to LATEXOPTS
It turns out that LaTeX enables \write18, which allows (some) shell
commands to be executed from the document source, by default. This the
often-seen warning during a pdfdocs build:
restricted \write18 enabled
That is a potential security problem and is entirely unnecessary; nothing
in the kernel PDF docs build needs that capability. So disable \write18
explicitly.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Link: https://lore.kernel.org/r/519bd2d9-1bee-03e1-eeb4-d9883c18be0c@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/dev-tools')
0 files changed, 0 insertions, 0 deletions