summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2019-09-22 20:25:02 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2019-09-22 20:25:02 +0100
commit0dba9fe11bd734e9875a46407a14954b3004765c (patch)
tree30a6803885082f236407b62277cb5c3af1c520f1
parentsys-kernel/stable-sources: Add 5.2 (diff)
downloadetc-portage-patches-0dba9fe11bd734e9875a46407a14954b3004765c.tar.gz
sys-apps/systemd: https://github.com/systemd/systemd/issues/13501
-rw-r--r--sys-apps/systemd/0001-bus_verify_polkit_async-bypass.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/systemd/0001-bus_verify_polkit_async-bypass.patch b/sys-apps/systemd/0001-bus_verify_polkit_async-bypass.patch
new file mode 100644
index 00000000..121fe191
--- /dev/null
+++ b/sys-apps/systemd/0001-bus_verify_polkit_async-bypass.patch
@@ -0,0 +1,22 @@
+From b05d29e1c681138fe6ae2d66a5113cd250e9dffb Mon Sep 17 00:00:00 2001
+From: Bertrand Jacquin <bertrand@jacquin.bzh>
+Date: Sun, 8 Sep 2019 18:46:42 +0100
+Subject: [PATCH] bus_verify_polkit_async bypass
+
+---
+ src/shared/bus-util.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
+index e31fcfbd5a64..536589be1831 100644
+--- a/src/shared/bus-util.c
++++ b/src/shared/bus-util.c
+@@ -527,6 +527,8 @@ int bus_verify_polkit_async(
+ }
+
+ return 0;
++#else
++ return 1;
+ #endif
+
+ return -EACCES;