summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2018-05-29 10:25:37 +0100
committerMarek Szuba <marecki@gentoo.org>2018-05-29 10:26:30 +0100
commit5cd39164b55ee94a0754a89c0069f228e58183ee (patch)
treebef21220dd905b8909975e37a4ba0e649aee6d15 /app-backup/burp/files/burp-2.0.54-chuser_after_getting_lock.patch
parentnet-misc/freerdp: ppc/ppc64 stable wrt bug #655916 (diff)
downloadgentoo-5cd39164.tar.gz
gentoo-5cd39164.tar.bz2
gentoo-5cd39164.zip
app-backup/burp: remove old following full stabilisation of 2.1.32
There are now no versions left in the tree that are vulnerable to either #628770 or #641842 Bug: https://bugs.gentoo.org/show_bug.cgi?id=628770 Bug: https://bugs.gentoo.org/show_bug.cgi?id=641842 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-backup/burp/files/burp-2.0.54-chuser_after_getting_lock.patch')
-rw-r--r--app-backup/burp/files/burp-2.0.54-chuser_after_getting_lock.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/app-backup/burp/files/burp-2.0.54-chuser_after_getting_lock.patch b/app-backup/burp/files/burp-2.0.54-chuser_after_getting_lock.patch
deleted file mode 100644
index 3f75c878d5b..00000000000
--- a/app-backup/burp/files/burp-2.0.54-chuser_after_getting_lock.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f765ad2c9f421eefcd3afc447ed45fa3fd2d17a0 Mon Sep 17 00:00:00 2001
-From: Graham Keeling <grke@grke.net>
-Date: Sun, 13 Aug 2017 11:50:54 +0000
-Subject: [PATCH] Drop privileges after main pidfile creation.
-
-Change-Id: I762541db55e7884531e4d869e1a86533df71b5b8
----
- src/prog.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/prog.c b/src/prog.c
-index 244590d3..b94df6d3 100644
---- a/src/prog.c
-+++ b/src/prog.c
-@@ -111,11 +111,6 @@ int reload(struct conf **confs, const char *conffile, bool firsttime)
- setup_signals();
- #endif
-
-- // Do not try to change user or group after the first time.
-- if(firsttime && chuser_and_or_chgrp(
-- get_string(confs[OPT_USER]), get_string(confs[OPT_GROUP])))
-- return -1;
--
- return 0;
- }
-
-@@ -486,6 +481,11 @@ int real_main(int argc, char *argv[])
- }
- }
-
-+ // Change privileges after having got the lock, for convenience.
-+ if(chuser_and_or_chgrp(
-+ get_string(confs[OPT_USER]), get_string(confs[OPT_GROUP])))
-+ return -1;
-+
- set_int(confs[OPT_OVERWRITE], forceoverwrite);
- set_int(confs[OPT_STRIP], strip);
- set_int(confs[OPT_FORK], forking);