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

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