summaryrefslogtreecommitdiff
path: root/core/systemd/0001-journal-pass-the-pid-to-sd_pid_get_owner_uid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/systemd/0001-journal-pass-the-pid-to-sd_pid_get_owner_uid.patch')
-rw-r--r--core/systemd/0001-journal-pass-the-pid-to-sd_pid_get_owner_uid.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/core/systemd/0001-journal-pass-the-pid-to-sd_pid_get_owner_uid.patch b/core/systemd/0001-journal-pass-the-pid-to-sd_pid_get_owner_uid.patch
deleted file mode 100644
index cd2d70756..000000000
--- a/core/systemd/0001-journal-pass-the-pid-to-sd_pid_get_owner_uid.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 83d7d83bcc6c462ecbb4c8003e3a8b41f3b88d46 Mon Sep 17 00:00:00 2001
-From: Kay Sievers <kay@vrfy.org>
-Date: Sat, 16 Mar 2013 16:10:22 +0100
-Subject: [PATCH] journal: pass the *pid* to sd_pid_get_owner_uid()
-
----
- src/journal/journald-server.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
-index ac565c7..364ab0f 100644
---- a/src/journal/journald-server.c
-+++ b/src/journal/journald-server.c
-@@ -593,7 +593,7 @@ static void dispatch_message_real(
- IOVEC_SET_STRING(iovec[n++], session);
- }
-
-- if (sd_pid_get_owner_uid(ucred->uid, &owner) >= 0) {
-+ if (sd_pid_get_owner_uid(ucred->pid, &owner) >= 0) {
- owner_valid = true;
- if (asprintf(&owner_uid, "_SYSTEMD_OWNER_UID=%lu", (unsigned long) owner) >= 0)
- IOVEC_SET_STRING(iovec[n++], owner_uid);
---
-1.8.2
-