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:53:41 +0000 (15:53 -0400)
commit7ca03e9d1136386160ceea87ec694e9ff7ccf7cf
treeb62fd8185e170ad86b0b8e6050014de90544bf1c
parenta594ed1700610e6b2626bf219c51776990709ade
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.025874 seconds and 4 git commands to generate.