projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Accept uid and gid parameters in utils_mkdir()/utils_mkdir_recursive()
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.c
diff --git
a/src/bin/lttng-relayd/main.c
b/src/bin/lttng-relayd/main.c
index 8e1879f50ae3875dd90581c1fe3a43465d8057af..92d466df7bc34ff2ba73161f37944dd9147b0cb5 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-1285,7
+1285,8
@@
int relay_add_stream(struct lttcomm_relayd_hdr *recv_hdr,
lttng_ht_node_init_u64(&stream->node, stream->stream_handle);
pthread_mutex_init(&stream->lock, NULL);
lttng_ht_node_init_u64(&stream->node, stream->stream_handle);
pthread_mutex_init(&stream->lock, NULL);
- ret = utils_mkdir_recursive(stream->path_name, S_IRWXU | S_IRWXG);
+ ret = utils_mkdir_recursive(stream->path_name, S_IRWXU | S_IRWXG,
+ -1, -1);
if (ret < 0) {
ERR("relay creating output directory");
goto err_free_stream;
if (ret < 0) {
ERR("relay creating output directory");
goto err_free_stream;
@@
-2828,7
+2829,8
@@
int main(int argc, char **argv)
goto exit_options;
}
goto exit_options;
}
- ret = utils_mkdir_recursive(opt_output_path, S_IRWXU | S_IRWXG);
+ ret = utils_mkdir_recursive(opt_output_path, S_IRWXU | S_IRWXG,
+ -1, -1);
if (ret < 0) {
ERR("Unable to create %s", opt_output_path);
retval = -1;
if (ret < 0) {
ERR("Unable to create %s", opt_output_path);
retval = -1;
This page took
0.025204 seconds
and
4
git commands to generate.