Fix: Create a lock file to prevent multiple session daemons
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 14 Jul 2014 18:57:10 +0000 (14:57 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 14 Jul 2014 21:04:23 +0000 (17:04 -0400)
commit52f740b87344f474ce15e0c9bb4a1ae800f57aac
treea73693aed18c34463d0eeeaf60f3098b36bc0ace
parent11bc4a9184f7df69603cad32f582b907233d03bf
Fix: Create a lock file to prevent multiple session daemons

A lock file is used to ensure that only one session daemon per UID is
running on the system. The lock file is created in the rundir.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Conflicts:
src/bin/lttng-sessiond/main.c
src/common/utils.h
src/bin/lttng-sessiond/main.c
src/common/defaults.h
src/common/utils.c
src/common/utils.h
This page took 0.025816 seconds and 4 git commands to generate.