From 839151a122f4ea348debca3b8a863a5e150447b0 Mon Sep 17 00:00:00 2001 From: pyllyukko Date: Sat, 13 Jan 2024 16:52:01 +0200 Subject: [PATCH] Added pcscd to cg{config,rules}.conf.new --- files/cgconfig.conf.new | 17 +++++++++++++++++ files/cgrules.conf.new | 1 + 2 files changed, 18 insertions(+) diff --git a/files/cgconfig.conf.new b/files/cgconfig.conf.new index bf52afd..31dd4e2 100644 --- a/files/cgconfig.conf.new +++ b/files/cgconfig.conf.new @@ -454,6 +454,23 @@ group daemons/usbguard { net_cls { } } +group daemons/pcscd { + perm { + task { + uid = root; + gid = root; + fperm = 600; + } + admin { + uid = root; + gid = root; + dperm = 700; + fperm = 600; + } + } + net_cls { + } +} group users { cpuacct{ } diff --git a/files/cgrules.conf.new b/files/cgrules.conf.new index c6c9a2f..1bac3f1 100644 --- a/files/cgrules.conf.new +++ b/files/cgrules.conf.new @@ -32,5 +32,6 @@ root:/usr/sbin/rpc.gssd net_cls daemons/rpc-gssd/ rpc:/sbin/rpcbind net_cls daemons/rpc/ rpc:/sbin/rpc.statd net_cls daemons/rpc/ root:/usr/sbin/usbguard-daemon net_cls daemons/usbguard/ +root:/usr/sbin/pcscd net_cls daemons/pcscd/ @users cpu,cpuacct,net_cls users/%u # End of file