projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document the contents of the shm_path fields of the ust session registry
[lttng-tools.git]
/
src
/
common
/
runas.c
diff --git
a/src/common/runas.c
b/src/common/runas.c
index 946ea3101ab92771ec8fd45009bd00bf37e8fe8b..cdb10e57c34e41123f759e552f799065536829f4 100644
(file)
--- a/
src/common/runas.c
+++ b/
src/common/runas.c
@@
-329,7
+329,6
@@
int run_as_worker(struct run_as_worker *worker)
if (ret && ret != -ENOSYS) {
/* Don't fail as this is not essential. */
PERROR("prctl PR_SET_NAME");
if (ret && ret != -ENOSYS) {
/* Don't fail as this is not essential. */
PERROR("prctl PR_SET_NAME");
- ret = 0;
}
sendret.ret = 0;
}
sendret.ret = 0;
@@
-420,8
+419,7
@@
end:
* This is for debugging ONLY and should not be considered secure.
*/
static
* This is for debugging ONLY and should not be considered secure.
*/
static
-int run_as_noworker(enum run_as_cmd cmd,
- struct run_as_data *data, uid_t uid, gid_t gid)
+int run_as_noworker(enum run_as_cmd cmd, struct run_as_data *data)
{
int ret, saved_errno;
mode_t old_mask;
{
int ret, saved_errno;
mode_t old_mask;
@@
-456,7
+454,7
@@
int run_as(enum run_as_cmd cmd, struct run_as_data *data, uid_t uid, gid_t gid)
} else {
DBG("Using run_as without worker");
} else {
DBG("Using run_as without worker");
- ret = run_as_noworker(cmd, data
, uid, gid
);
+ ret = run_as_noworker(cmd, data);
}
return ret;
}
}
return ret;
}
This page took
0.02407 seconds
and
4
git commands to generate.