summaryrefslogtreecommitdiff
path: root/games-util/joycond/files/joycond-systemd-paranoia.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-09 03:17:10 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-09 03:17:10 +0000
commit8b5d973bd4c43f578cef7a46652599e470f1d9fc (patch)
treecc4312079c10bc8c7f3c48d4c9dbb9d14f7c2f00 /games-util/joycond/files/joycond-systemd-paranoia.patch
parent750f865355947c40a4b93cd7a5db23eebc4e5080 (diff)
gentoo auto-resync : 09:12:2022 - 03:17:09
Diffstat (limited to 'games-util/joycond/files/joycond-systemd-paranoia.patch')
-rw-r--r--games-util/joycond/files/joycond-systemd-paranoia.patch5
1 files 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