public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/files/
Date: Sun, 27 May 2018 16:11:07 +0000 (UTC)	[thread overview]
Message-ID: <1527437380.2948b4feefa5cbdccf406c2575b2bc80ad4a0808.bman@gentoo> (raw)

commit:     2948b4feefa5cbdccf406c2575b2bc80ad4a0808
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun May 27 12:00:54 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun May 27 16:09:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2948b4fe

sys-apps/systemd: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/8609

 ...o-not-try-to-close-already-closed-fd-8392.patch | 26 -------------
 ...e-do-not-free-heap-allocated-strings-8391.patch | 44 ----------------------
 ...-check-for-address-to-keep-interface-8458.patch | 37 ------------------
 3 files changed, 107 deletions(-)

diff --git a/sys-apps/systemd/files/238-0001-sd-bus-do-not-try-to-close-already-closed-fd-8392.patch b/sys-apps/systemd/files/238-0001-sd-bus-do-not-try-to-close-already-closed-fd-8392.patch
deleted file mode 100644
index c39575c62b6..00000000000
--- a/sys-apps/systemd/files/238-0001-sd-bus-do-not-try-to-close-already-closed-fd-8392.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 5681f772d7bc8226cb10bfc7f9fba0a29e34a54d Mon Sep 17 00:00:00 2001
-From: Yu Watanabe <watanabe.yu+github@gmail.com>
-Date: Thu, 8 Mar 2018 22:19:35 +0900
-Subject: [PATCH 1/2] sd-bus: do not try to close already closed fd (#8392)
-
-Fixes #8376, which is introduced by 2b33ab0957f453a06b58e4bee482f2c2d4e100c1.
----
- src/libsystemd/sd-bus/bus-socket.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/sd-bus/bus-socket.c
-index b5160cff6..166fba157 100644
---- a/src/libsystemd/sd-bus/bus-socket.c
-+++ b/src/libsystemd/sd-bus/bus-socket.c
-@@ -960,8 +960,6 @@ int bus_socket_exec(sd_bus *b) {
-         if (r == 0) {
-                 /* Child */
- 
--                safe_close(s[0]);
--
-                 if (rearrange_stdio(s[1], s[1], STDERR_FILENO) < 0)
-                         _exit(EXIT_FAILURE);
- 
--- 
-2.16.2
-

diff --git a/sys-apps/systemd/files/238-0002-core-do-not-free-heap-allocated-strings-8391.patch b/sys-apps/systemd/files/238-0002-core-do-not-free-heap-allocated-strings-8391.patch
deleted file mode 100644
index 3ee2527f77d..00000000000
--- a/sys-apps/systemd/files/238-0002-core-do-not-free-heap-allocated-strings-8391.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 84c5e8010042788a03cff680592b37257b2a6de0 Mon Sep 17 00:00:00 2001
-From: Yu Watanabe <watanabe.yu+github@gmail.com>
-Date: Thu, 8 Mar 2018 22:21:54 +0900
-Subject: [PATCH 2/2] core: do not free heap-allocated strings (#8391)
-
-Fixes #8387.
----
- src/core/mount-setup.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
-index 536c17b4d..9c27972af 100644
---- a/src/core/mount-setup.c
-+++ b/src/core/mount-setup.c
-@@ -248,6 +248,7 @@ int mount_setup_early(void) {
- 
- int mount_cgroup_controllers(char ***join_controllers) {
-         _cleanup_set_free_free_ Set *controllers = NULL;
-+        bool has_argument = !!join_controllers;
-         int r;
- 
-         if (!cg_is_legacy_wanted())
-@@ -255,7 +256,7 @@ int mount_cgroup_controllers(char ***join_controllers) {
- 
-         /* Mount all available cgroup controllers that are built into the kernel. */
- 
--        if (!join_controllers)
-+        if (!has_argument)
-                 /* The defaults:
-                  * mount "cpu" + "cpuacct" together, and "net_cls" + "net_prio".
-                  *
-@@ -300,7 +301,8 @@ int mount_cgroup_controllers(char ***join_controllers) {
- 
-                                         t = set_remove(controllers, *i);
-                                         if (!t) {
--                                                free(*i);
-+                                                if (has_argument)
-+                                                        free(*i);
-                                                 continue;
-                                         }
-                                 }
--- 
-2.16.2
-

diff --git a/sys-apps/systemd/files/238-0003-udev-net-id-Fix-check-for-address-to-keep-interface-8458.patch b/sys-apps/systemd/files/238-0003-udev-net-id-Fix-check-for-address-to-keep-interface-8458.patch
deleted file mode 100644
index 693d67152ea..00000000000
--- a/sys-apps/systemd/files/238-0003-udev-net-id-Fix-check-for-address-to-keep-interface-8458.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 8eebb6a9e5e74ec0ef40902e2da53d24559b94a4 Mon Sep 17 00:00:00 2001
-From: Filipe Brandenburger <filbranden@google.com>
-Date: Thu, 15 Mar 2018 10:42:38 -0700
-Subject: [PATCH] udev/net-id: Fix check for address to keep interface names
- stable (#8458)
-
-This was a bug inadvertently added by commit 73fc96c8ac0aa9.
-
-The intent of the check is to "match slot address with device by
-stripping the function" (as the comment above states it), for example
-match network device PCI address 0000:05:00.0 (including a .0 for
-function) to PCI slot address 0000:05:00, but changing that to a streq()
-call prevented the match.
-
-Change that to startswith(), which should both fix the bug and make the
-intent of the check more clear and prevent unintentional bugs from being
-introduced by future refactorings.
----
- src/udev/udev-builtin-net_id.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c
-index 36994360c7..6efa712930 100644
---- a/src/udev/udev-builtin-net_id.c
-+++ b/src/udev/udev-builtin-net_id.c
-@@ -297,7 +297,7 @@ static int dev_pci_slot(struct udev_device *dev, struct netnames *names) {
-                 if (snprintf_ok(str, sizeof str, "%s/%s/address", slots, dent->d_name) &&
-                     read_one_line_file(str, &address) >= 0)
-                         /* match slot address with device by stripping the function */
--                        if (streq(address, udev_device_get_sysname(names->pcidev)))
-+                        if (startswith(udev_device_get_sysname(names->pcidev), address))
-                                 hotplug_slot = i;
- 
-                 if (hotplug_slot > 0)
--- 
-2.16.2
-


             reply	other threads:[~2018-05-27 16:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-27 16:11 Aaron Bauman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-20  8:01 [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/files/ Joonas Niilola
2024-06-17 22:36 Conrad Kostecki
2024-04-18 15:19 Mike Gilbert
2023-10-01  7:34 Sam James
2023-08-13 17:32 Mike Gilbert
2023-05-06 17:55 Mike Gilbert
2023-04-22 18:16 Mike Gilbert
2023-01-01 18:16 Conrad Kostecki
2022-10-19 18:13 Mike Gilbert
2022-08-04 18:39 Mike Gilbert
2022-07-19 17:10 Conrad Kostecki
2020-03-06 19:20 Mike Gilbert
2019-08-02 20:41 Mike Gilbert
2019-07-10 19:18 Mike Gilbert
2019-06-08 20:44 Mike Gilbert
2018-06-04 15:09 Mike Gilbert
2018-06-04 15:09 Mike Gilbert
2018-04-03 18:23 Mike Gilbert
2018-02-13 22:15 Mike Gilbert
2017-12-07  0:18 Mike Gilbert
2017-10-18 18:39 Mike Gilbert
2017-08-29 22:21 Mike Gilbert
2016-11-04  1:06 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1527437380.2948b4feefa5cbdccf406c2575b2bc80ad4a0808.bman@gentoo \
    --to=bman@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox