diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2019-11-09 17:26:00 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2019-11-09 17:26:00 +0000 |
commit | 4885bb094e49e56658e15217cf9e143b0f6d14b3 (patch) | |
tree | e11b8044a56ed8bcbf1bcafaf3e6478817e78922 /Build/source/texk/web2c/mfluadir/mfluac.c | |
parent | 1e72ba8f801989453ee585a85f1d121d2669ac38 (diff) |
updated mflua.lua & ttx backend; stubs for shellenabledp restrictedshell shell_cmd_is_allowed (mflua part).
git-svn-id: svn://tug.org/texlive/trunk@52705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/mfluadir/mfluac.c')
-rw-r--r-- | Build/source/texk/web2c/mfluadir/mfluac.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mfluadir/mfluac.c b/Build/source/texk/web2c/mfluadir/mfluac.c index aea6a8a7e96..391e157c76c 100644 --- a/Build/source/texk/web2c/mfluadir/mfluac.c +++ b/Build/source/texk/web2c/mfluadir/mfluac.c @@ -13,6 +13,11 @@ #if defined(JIT) #include <luajit.h> #endif + +/* See shell_cmd_is_allowed below */ +shellenabledp = 1; +restrictedshell = 0; + /**************************************************************/ /* */ /* private functions */ @@ -1414,3 +1419,6 @@ int mfluarunscript(halfword j, halfword first, halfword limit) } return 0; } + +/* TODO: check if shell_cmd_is_allowed make se sense */ +int shell_cmd_is_allowed(const char *cmd, char **safecmd, char **cmdname){return 1;} |