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
