runas: use CLONE_VM flag
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 7 Jan 2012 19:56:55 +0000 (14:56 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 7 Jan 2012 19:56:55 +0000 (14:56 -0500)
commit10d32e930a6b67c3f196ca3bf4f247d444d8c2b6
tree0048c458c0844a7f65abd75f4925fb7c9b9c8c2b
parent47fb756380d79f439e0650841048cd2550d48903
runas: use CLONE_VM flag

Having to clone the vma each time runas is executed brings a significant
slowdown to the "start" operation when done with attached application,
and to the file creation needed when an application is attaching to the
sessiond. Use CLONE_VM flag to speed this up.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
librunas/runas.c
This page took 0.024632 seconds and 4 git commands to generate.