]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/lua: get rid of __engine symbol in lua
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 3 Aug 2020 17:32:23 +0000 (19:32 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 5 Aug 2020 16:36:45 +0000 (18:36 +0200)
commitb7629c55dcc1850d2f60ae14fa0856fab92848b8
treec55f90f8d2474954641bdaafbf12a1adabfc84a0
parent0f38eb9062c329e4d7eedc5682337a8d8aba3aa7
daemon/lua: get rid of __engine symbol in lua

In particular this gets rid of last light user data inside kresd.

It was still causing problems on some systems, for example Debian Sid.
The error was the same: "bad light userdata pointer" from luajit,
but note that the problem can still be triggered by lua libraries,
e.g. cqueues.
.luacheckrc
NEWS
daemon/engine.c
daemon/engine.h
daemon/lua/kres-gen.lua
daemon/lua/kres-gen.sh
daemon/lua/kres.lua
daemon/lua/sandbox.lua.in
daemon/main.c