Don't init kernel tracer if not root (UID=0)
authorDavid Goulet <dgoulet@efficios.com>
Thu, 19 Jan 2012 18:43:57 +0000 (13:43 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 19 Jan 2012 18:43:57 +0000 (13:43 -0500)
commitd1f1c568e4e28b57156da4fce6b815a56166ecc6
treef2cb9d5cf06cb6c0e1276be945c7dd8da10983b7
parent76150f62109c9012707e54afa031bc7572ca9a5c
Don't init kernel tracer if not root (UID=0)

No point of trying to init kernel tracer if the session daemon is not
root. At this time, only UID=0 can load kernel modules and interact with
the lttng kernel tracer.

Reported-by: Daniel Thibault <daniel.thibault@drdc-rddc.gc.ca>
Signed-off-by: David Goulet <dgoulet@efficios.com>
lttng-sessiond/main.c
This page took 0.025065 seconds and 4 git commands to generate.