Blame SOURCES/0001-bus-raise-fd-limits-before-dropping-privs.patch

9703b1
From 8e3c46c33f32290bc2f205de62a7d9ba01994f72 Mon Sep 17 00:00:00 2001
9703b1
From: David King <dking@redhat.com>
9703b1
Date: Wed, 7 Feb 2018 14:37:24 +0000
9703b1
Subject: [PATCH] bus: raise fd limits before dropping privs
9703b1
9703b1
https://bugzilla.redhat.com/show_bug.cgi?id=1529044
9703b1
---
9703b1
 bus/bus.c | 5 +++++
9703b1
 1 file changed, 5 insertions(+)
9703b1
9703b1
diff --git a/bus/bus.c b/bus/bus.c
9703b1
index a6f8db47..4b922a89 100644
9703b1
--- a/bus/bus.c
9703b1
+++ b/bus/bus.c
9703b1
@@ -940,6 +940,11 @@ bus_context_new (const DBusString *confi
9703b1
    */
9703b1
   if (context->user != NULL)
9703b1
     {
9703b1
+      /* Raise the file descriptor limits before dropping the privileges
9703b1
+       * required to do so.
9703b1
+       */
9703b1
+      raise_file_descriptor_limit (context);
9703b1
+
9703b1
       if (!_dbus_change_to_daemon_user (context->user, error))
9703b1
 	{
9703b1
 	  _DBUS_ASSERT_ERROR_IS_SET (error);
9703b1
-- 
9703b1
2.14.3