Blame SOURCES/rhbz1054954.patch

f43afa
From f551ef1599fa4ff5d244285eef731928a5d9820e Mon Sep 17 00:00:00 2001
f43afa
From: Jonathan Lebon <jlebon@redhat.com>
f43afa
Date: Tue, 10 Dec 2013 11:38:39 -0500
f43afa
Subject: BZ1054954: PR16309: spawn stap-serverd with / cwd
f43afa
f43afa
---
f43afa
 stap-start-server | 1 +
f43afa
 1 file changed, 1 insertion(+)
f43afa
f43afa
diff --git a/stap-start-server b/stap-start-server
f43afa
index b6ec943..4221631 100755
f43afa
--- a/stap-start-server
f43afa
+++ b/stap-start-server
f43afa
@@ -18,6 +18,7 @@
f43afa
 startup_timeout=10
f43afa
 
f43afa
 # start the server
f43afa
+cd / # change to a dir we're 100% sure we have RD_ONLY access to
f43afa
 ${stap_pkglibexecdir}stap-serverd "$@" </dev/null >/dev/null 2>/dev/null &
f43afa
 server_pid=$!
f43afa
 
f43afa
-- 
f43afa
1.8.3.1
f43afa