]> git.rmz.io Git - dotfiles.git/commitdiff
mkosi/kodi: cleanup Capability and SystemCallFilter
authorSamir Benmendil <me@rmz.io>
Tue, 29 Dec 2020 14:39:08 +0000 (14:39 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 29 Dec 2020 17:55:54 +0000 (17:55 +0000)
Most were not needed.

mkosi/kodi/mkosi.nspawn
mkosi/kodi/override.conf

index f731920cbd8ac8902fec8f0e43420daec51e7401..61bb674d7a8103d4f432b91db449076361493387 100644 (file)
@@ -1,7 +1,5 @@
 [Exec]
 PrivateUsers=no
 [Exec]
 PrivateUsers=no
-Capability=all
-SystemCallFilter=@default @raw-io @system-service @known
 
 [Files]
 # binds host kodi home folder into nspawn
 
 [Files]
 # binds host kodi home folder into nspawn
index 25c5a091c2627112399734166ffa2e719615c04b..556d830094422e0453aabd9ead87ef55c074fcaf 100644 (file)
@@ -2,12 +2,10 @@
 Conflicts=getty@tty1.service
 
 [Service]
 Conflicts=getty@tty1.service
 
 [Service]
-DeviceAllow=char-BaseRemoteCtl rwm
-DeviceAllow=char-drm rwm
-DeviceAllow=char-hidraw rwm
-DeviceAllow=char-input rwm
-DeviceAllow=char-shm rwm
-DeviceAllow=char-tty rwm
-DeviceAllow=char-usb_device rwm
-
 MemoryHigh=6G
 MemoryHigh=6G
+
+DeviceAllow=char-tty rw
+DeviceAllow=char-drm rw
+
+DeviceAllow=char-BaseRemoteCtl rw
+DeviceAllow=char-input rw