Fix: filter interpreter with userspace strings
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Mar 2016 16:34:01 +0000 (11:34 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Mar 2016 16:35:52 +0000 (11:35 -0500)
commit5b4ad89f381e2c864395af2b762d75151c03fdb3
tree615ae21de5bde3393993fdbc060dc6bad006266f
parentb36bb1a8d9cb32b6ce199f05f399b1ca639e240e
Fix: filter interpreter with userspace strings

The filter interpreter is populating the "str" register field, but the
string comparison functions expect to use the "user_str" register field
whenever it deals with a userspace string ("user" flag set to 1).

Since we are using __copy_from_user_inatomic(), this is typically
bailing out on anything that requires to read the string (except the '*'
wildcard).

Fixes #943

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-filter-interpreter.c
This page took 0.026033 seconds and 4 git commands to generate.