projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove run-as compat wrapper from internal code
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 01d5ecf6505cc0667a41194d5cb1f07d06e3540b..76eee2ad9f56d448a9f5c9913cd86685b0279e8c 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-510,7
+510,7
@@
error_open:
}
/* Try to rmdir all directories under shm_path root. */
if (channel->root_shm_path[0]) {
}
/* Try to rmdir all directories under shm_path root. */
if (channel->root_shm_path[0]) {
- (void) run_as_r
ecursive_rmdir
(channel->root_shm_path,
+ (void) run_as_r
mdir_recursive
(channel->root_shm_path,
channel->uid, channel->gid);
}
free(stream_fds);
channel->uid, channel->gid);
}
free(stream_fds);
@@
-2067,7
+2067,7
@@
void lttng_ustconsumer_free_channel(struct lttng_consumer_channel *chan)
ustctl_destroy_channel(chan->uchan);
/* Try to rmdir all directories under shm_path root. */
if (chan->root_shm_path[0]) {
ustctl_destroy_channel(chan->uchan);
/* Try to rmdir all directories under shm_path root. */
if (chan->root_shm_path[0]) {
- (void) run_as_r
ecursive_rmdir
(chan->root_shm_path,
+ (void) run_as_r
mdir_recursive
(chan->root_shm_path,
chan->uid, chan->gid);
}
free(chan->stream_fds);
chan->uid, chan->gid);
}
free(chan->stream_fds);
This page took
0.024321 seconds
and
4
git commands to generate.