Accept uid and gid parameters in utils_mkdir()/utils_mkdir_recursive()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Sep 2015 19:09:00 +0000 (15:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 24 Sep 2015 01:34:11 +0000 (21:34 -0400)
commit0d083fb882bdc0ab7174cc717e9e16876d65f253
tree9598b85df285ad898425a8ce7de2bd9676bc64e1
parent7ec4dd5ae0d04278b110f5ba9f37ffb8704e1605
Accept uid and gid parameters in utils_mkdir()/utils_mkdir_recursive()

utils_mkdir* utils may now be use in immediate or "run_as" mode.

This is done since some of the code shared between daemons calls
run_as directly, which doesn't support negative uid/gid (which we use
to mean "run as current user").

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.c
src/common/runas.c
src/common/utils.c
src/common/utils.h
This page took 0.026196 seconds and 4 git commands to generate.