projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
librunas: clone another process also if not root
[lttng-tools.git]
/
librunas
/
runas.c
diff --git
a/librunas/runas.c
b/librunas/runas.c
index 12327c1111fd15715174d41947f5e41db26beca3..cbb70ee193469dfe35439b8735fcbdda9ebad938 100644
(file)
--- a/
librunas/runas.c
+++ b/
librunas/runas.c
@@
-204,7
+204,6
@@
int run_as(int (*cmd)(void *data), void *data, uid_t uid, gid_t gid)
uid, geteuid());
return -EPERM;
}
- return (*cmd)(data);
}
child_stack = malloc(CHILD_STACK_SIZE * 2);
This page took
0.042544 seconds
and
4
git commands to generate.