~lttng/lttng-ust/lttng-ust

« back to all changes in this revision

Viewing changes to src/common/getenv.c

  • Committer: Mathieu Desnoyers
  • Date: 2023-10-20 15:57:20 UTC
  • Revision ID: git-v1:8bc1125eb851b2c52d3263c2992e6806017e98e7
Revert "Add support for LTTNG_UST_HOME"

This reverts commit 90d125c709f566f3663bf84677f100134cc618e0.

After discussion with Jeremie, we want to introduce two (not one)
environment variables:

- LTTNG_UST_APP_PATH,
- LTTNG_UST_CTL_PATH.

to accomodate use-cases where a sessiond within a container is traced by
a sessiond in the parent container. In that situation, we want the
sessiond in the parent container to access the tracee through the
LTTNG_UST_CTL_PATH, without making the unix sockets for tracing control
visible to the child container.

Therefore, remove the LTTNG_UST_HOME environment variable before it is
added into an official release.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        { "LTTNG_UST_ALLOW_BLOCKING", LTTNG_ENV_SECURE, NULL, },
50
50
        { "HOME", LTTNG_ENV_SECURE, NULL, },
51
51
        { "LTTNG_HOME", LTTNG_ENV_SECURE, NULL, },
52
 
        { "LTTNG_UST_HOME", LTTNG_ENV_SECURE, NULL, },
53
52
};
54
53
 
55
54
static