* [gentoo-commits] repo/gentoo:master commit in: games-util/joycond/files/
@ 2022-12-08 21:40 James Le Cuirot
0 siblings, 0 replies; only message in thread
From: James Le Cuirot @ 2022-12-08 21:40 UTC (permalink / raw
To: gentoo-commits
commit: 4c9535541920a5bc381834743b1fc0eaa8017477
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 8 21:37:30 2022 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Dec 8 21:37:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c953554
games-util/joycond: Allow /dev/uinput in systemd unit
Closes: https://bugs.gentoo.org/867385
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-util/joycond/files/joycond-systemd-paranoia.patch | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/games-util/joycond/files/joycond-systemd-paranoia.patch b/games-util/joycond/files/joycond-systemd-paranoia.patch
index f6803d074f17..314b4824cda8 100644
--- a/games-util/joycond/files/joycond-systemd-paranoia.patch
+++ b/games-util/joycond/files/joycond-systemd-paranoia.patch
@@ -11,8 +11,8 @@ diff --git a/systemd/joycond.service b/systemd/joycond.service
index cc8e408..5a8b045 100644
--- a/systemd/joycond.service
+++ b/systemd/joycond.service
-@@ -4,12 +4,26 @@ After=network.target
-
+@@ -4,12 +4,27 @@ After=network.target
+
[Service]
ExecStart=/usr/bin/joycond
-WorkingDirectory=/root
@@ -21,6 +21,7 @@ index cc8e408..5a8b045 100644
Restart=always
-User=root
+
++DeviceAllow=/dev/uinput
+DeviceAllow=char-input
+DevicePolicy=closed
+LockPersonality=yes
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-08 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-08 21:40 [gentoo-commits] repo/gentoo:master commit in: games-util/joycond/files/ James Le Cuirot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox