]> sourceware.org Git - systemtap.git/commitdiff
PR16309: spawn stap-serverd with / cwd
authorJonathan Lebon <jlebon@redhat.com>
Tue, 10 Dec 2013 16:38:39 +0000 (11:38 -0500)
committerJonathan Lebon <jlebon@redhat.com>
Tue, 10 Dec 2013 17:39:32 +0000 (12:39 -0500)
stap-start-server

index b6ec943e06d404b6135984a5fa10d76ff22c6f0e..42216313073c1f21612e619c80bae7ac7d4b43a9 100755 (executable)
@@ -18,6 +18,7 @@
 startup_timeout=10
 
 # start the server
+cd / # change to a dir we're 100% sure we have RD_ONLY access to
 ${stap_pkglibexecdir}stap-serverd "$@" </dev/null >/dev/null 2>/dev/null &
 server_pid=$!
 
This page took 0.026207 seconds and 5 git commands to generate.