projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new snapshot ustctl API
[lttng-tools.git]
/
src
/
common
/
runas.c
diff --git
a/src/common/runas.c
b/src/common/runas.c
index d4a8e6c9c6b8397b0fe318a240df024ed2ed6442..081a3d28e98e4eac9bf236ac4825319d3828f0b4 100644
(file)
--- 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);
}
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)
{
LTTNG_HIDDEN
int run_as_open(const char *path, int flags, mode_t mode, uid_t uid, gid_t gid)
{
This page took
0.02386 seconds
and
4
git commands to generate.