Fix: validate file path creds in autoload mode
authorDavid Goulet <dgoulet@efficios.com>
Wed, 16 Jul 2014 19:50:31 +0000 (15:50 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 16 Jul 2014 19:50:31 +0000 (15:50 -0400)
commitcf53c06d8c89926284a15f6c27d60cf31761e622
tree0d68207f31c503f65af6fe5e95e8da9d1aaa6555
parentd4fcf703172c1d8a69845dcf1b87d935583c0979
Fix: validate file path creds in autoload mode

Validate the credentials only when in auto load mode for the auto/
directory. The lttng load command now checks the session file creds and
validate if it's readable before trying to do so.

Thus with this, a user can load a session from the system wide directory
as long as she/he has the rights to read it.

Signed-off-by: David Goulet <dgoulet@efficios.com>
doc/man/lttng-sessiond.8
doc/man/lttng.1
src/common/config/config.c
This page took 0.046856 seconds and 5 git commands to generate.