X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Frunas.c;h=081a3d28e98e4eac9bf236ac4825319d3828f0b4;hb=07bb6d71d12af83c72d9cc18a7488d6b15ceb440;hp=d4a8e6c9c6b8397b0fe318a240df024ed2ed6442;hpb=22d5e48e6a56b07559d84a1ca0a55167dffd7622;p=lttng-tools.git diff --git a/src/common/runas.c b/src/common/runas.c index d4a8e6c9c..081a3d28e 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -487,10 +487,6 @@ int run_as_mkdir(const char *path, mode_t mode, uid_t uid, gid_t gid) return run_as(RUN_AS_MKDIR, &data, uid, gid); } -/* - * Note: open_run_as is currently not working. We'd need to pass the fd - * opened in the child to the parent. - */ LTTNG_HIDDEN int run_as_open(const char *path, int flags, mode_t mode, uid_t uid, gid_t gid) {