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:37:41 +0000 (11:37 -0500)
commite2b3f656f1a73942d345fd1a509d00bb00cf9029
tree40e83d2c0249226a6ed4e1c7cfd994feee3c9e4e
parent07192b7485c041a61b69fa187fd09cb1e0f6bebc
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.026643 seconds and 4 git commands to generate.