summaryrefslogtreecommitdiff
path: root/dns/powerdns-recursor40/files/extrapatch-setuid
diff options
context:
space:
mode:
Diffstat (limited to 'dns/powerdns-recursor40/files/extrapatch-setuid')
-rw-r--r--dns/powerdns-recursor40/files/extrapatch-setuid13
1 files changed, 0 insertions, 13 deletions
diff --git a/dns/powerdns-recursor40/files/extrapatch-setuid b/dns/powerdns-recursor40/files/extrapatch-setuid
deleted file mode 100644
index 4ab90f53ac4f..000000000000
--- a/dns/powerdns-recursor40/files/extrapatch-setuid
+++ /dev/null
@@ -1,13 +0,0 @@
---- pdns_recursor.cc.orig 2017-01-17 02:48:30 UTC
-+++ pdns_recursor.cc
-@@ -2969,8 +2969,8 @@ int main(int argc, char **argv)
- ::arg().set("disable-syslog","Disable logging to syslog, useful when running inside a supervisor that logs stdout")="no";
- ::arg().set("log-common-errors","If we should log rather common errors")="no";
- ::arg().set("chroot","switch to chroot jail")="";
-- ::arg().set("setgid","If set, change group id to this gid for more security")="";
-- ::arg().set("setuid","If set, change user id to this uid for more security")="";
-+ ::arg().set("setgid","If set, change group id to this gid for more security")="pdns";
-+ ::arg().set("setuid","If set, change user id to this uid for more security")="pdns_recursor";
- ::arg().set("network-timeout", "Wait this nummer of milliseconds for network i/o")="1500";
- ::arg().set("threads", "Launch this number of threads")="2";
- ::arg().set("processes", "Launch this number of processes (EXPERIMENTAL, DO NOT CHANGE)")="1"; // if we un-experimental this, need to fix openssl rand seeding for multiple PIDs!