lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jan 4, 2019 at 6:38 AM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>
> > What are you trying to prevent? What are you trying to protect?
>
> This is a main question here. if you cannot trust LUA_PATH/LUA_CPATH,
> you probably cannot trust LUA_INIT either. If you cannot trust LUA_INIT,
> you cannot trust anything.
>
> (Can you trust the script name? Are sure it is your scipt that is
> running, and not something else? :-)

"I think, therefore I am." Any test that evaluates "am I running?"
must always return true, for it would be a paradox to do otherwise.

/s/ Adam