summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/pdns-recursor/files/pdns-recursor-3.1.4-chdir.patch')
-rw-r--r--net-dns/pdns-recursor/files/pdns-recursor-3.1.4-chdir.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/net-dns/pdns-recursor/files/pdns-recursor-3.1.4-chdir.patch b/net-dns/pdns-recursor/files/pdns-recursor-3.1.4-chdir.patch
deleted file mode 100644
index d30ca4286c02..000000000000
--- a/net-dns/pdns-recursor/files/pdns-recursor-3.1.4-chdir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- pdns-recursor/pdns_recursor.cc
-+++ pdns-recursor/pdns_recursor.cc
-@@ -1565,6 +1565,10 @@
- }
- }
-
-+ // this is needed to really get into the chroot. and even without chroot
-+ // enabled it's nice to not block the directory we're currently in.
-+ chdir("/");
-+
- Utility::dropPrivs(newuid, newgid);
- g_fdm->addReadFD(s_rcc.d_fd, handleRCC); // control channel
- #endif