diff options
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/texmf.cnf | 16 |
2 files changed, 20 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 82b10a2ba0e..02bcecf7876 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,8 @@ +2016-02-17 Karl Berry <karl@tug.org> + + * texmf.cnf (openout_any.*lua*): set to a, since otherwise nothing + nontrivial can be run, as of TL'16. As I understand it. + 2016-02-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * win32lib.[ch], mingw32.[ch]: Define a function diff --git a/Build/source/texk/kpathsea/texmf.cnf b/Build/source/texk/kpathsea/texmf.cnf index 33cc0b7c229..547219ba077 100644 --- a/Build/source/texk/kpathsea/texmf.cnf +++ b/Build/source/texk/kpathsea/texmf.cnf @@ -601,7 +601,21 @@ TEXMF_RESTRICTED_SCRIPTS = \ openin_any = a openout_any = p -% Write .log/.dvi/etc. files here, if the current directory is unwritable. +% As of TeX Live 2016, the LuaTeX engines reimplemented the `p' setting +% such that even the simplest documents could not be run. Besides, most +% safeguards can be bypassed through Lua with sufficient effort. +% Therefore we specific the reality here. For those concerned with +% security and luatex, the --safer option is the place to start, and +% running entirely in a sandboxed environment (ConTeXt has support for +% this) is probably the place to end. +openout_any.dvilualatex = a +openout_any.dviluatex = a +openout_any.luajittex = a +openout_any.lualatex = a +openout_any.lualollipop = a +openout_any.luatex = a + +% Write .log/.dvi/.aux/etc. files here, if the current directory is unwritable. %TEXMFOUTPUT = /tmp % If a dynamic file creation fails, log the command to this file, in |