[PATCH v9 0/3] Add LuaJIT scripting support

Victor Krapivensky krapivenskiy.va at phystech.edu
Wed Jul 26 14:56:49 UTC 2017


On Wed, Jul 26, 2017 at 12:28:51PM +0000, Eugene Syromyatnikov wrote:
> On Tue, Jul 25, 2017 at 12:59 PM, Victor Krapivensky
> <krapivenskiy.va at phystech.edu> wrote:
> > Victor Krapivensky (3):
> >   Initial support for LuaJIT scripting
> >   Introduce upoken function and expose it to LuaJIT scripts
> >   tests: check LuaJIT scripting support
> 
> It's quite handy to have patch changelog here, especially if you claim
> that the issues pointed out during the previous review are partially
> touched.

Sorry for not providing it.

* All the Lua functions that previously took an optional "pers" argument
now take a mandatory "pers_spec" argument, which can be either an
integer personality number, or a cdata struct tcb *, from which a
personality number if copied.
* For all the Lua functions that take a "when" argument, it can now be a
two-element array (that is, a table with keys 1 and 2) of booleans;
first of them controls if hooking should done on syscall entry, and the
second one if on syscall exit;
* strace.monitor_all now takes a "when" argument;
* New Lua function strace.monitor_name.
* Certain Lua functions that are described in the man page section as
taking a *string* argument (where a *string* is defined as either a Lua
string or a cdata C string) now actually support cdata C strings.
* Fixed upoken's behaviour when process_vm_writev is not available
and modifying the middle of a word is requested.
* Some other minor fixes.




More information about the Strace-devel mailing list