X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=common%2Frunas.c;fp=common%2Frunas.c;h=b3fa81469824ecc6b69979e6a64e408cbd4a5546;hp=f612ccc7554590a44fdeca167a33f29d4b0ee0d0;hb=9beed4cb465347c778e4f982c330cef78f2628b7;hpb=fb6f1fa2b2d7c1ce61b782db6d62e32ad9fcac12 diff --git a/common/runas.c b/common/runas.c index f612ccc75..b3fa81469 100644 --- a/common/runas.c +++ b/common/runas.c @@ -230,7 +230,7 @@ int run_as(int (*cmd)(void *data), void *data, uid_t uid, gid_t gid) * where the stack grows up (HPPA). */ pid = clone(child_run_as, child_stack + (CHILD_STACK_SIZE / 2), - CLONE_FILES | SIGCHLD | CLONE_VM, + CLONE_FILES | SIGCHLD, &run_as_data, NULL); if (pid < 0) { perror("clone");