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>
Tue, 8 Sep 2015 13:08:55 +0000 (09:08 -0400)
commitd85144f433d4b7b973ecbd4abb547ae7d650ed8c
treebaec0714e80450c9b248aee6f1b309fa2a7ebd21
parent95a90d01ce90630d2c070d21b25f4fe7493d89db
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.02695 seconds and 4 git commands to generate.