diff options
author | Dongwoo Lee <dwoo08.lee@samsung.com> | 2023-09-11 19:38:22 +0900 |
---|---|---|
committer | Dongwoo Lee <dwoo08.lee@samsung.com> | 2023-09-11 19:38:22 +0900 |
commit | 9c9ad04ade0f6a099f723db455ba6f13bc2473aa (patch) | |
tree | 078c000a1b399728f62c4934febb137314f7bb68 | |
parent | 66b231e457676ea47c413e8b08e7ac871053de35 (diff) | |
download | pass-9c9ad04ade0f6a099f723db455ba6f13bc2473aa.tar.gz pass-9c9ad04ade0f6a099f723db455ba6f13bc2473aa.tar.bz2 pass-9c9ad04ade0f6a099f723db455ba6f13bc2473aa.zip |
pass: Add CAP_SYS_RESOURCE capability to allow write in psi nodesaccepted/tizen/unified/20230912.171559
Since linux kernel 5.13, CAP_SYS_RESOURCE is required to write in psi
nodes with unprivileged process. Thus this adds it to systemd service
file.
Change-Id: Ie8027e8f99aa616770eda9d0718604e2e0189041
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
-rw-r--r-- | systemd/pass.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/pass.service.in b/systemd/pass.service.in index 0324dec..39b24de 100644 --- a/systemd/pass.service.in +++ b/systemd/pass.service.in @@ -10,7 +10,7 @@ RestartSec=0 KillSignal=SIGUSR1 User=system_fw Group=system_fw -Capabilities=cap_net_admin,cap_sys_ptrace,cap_dac_override=i +Capabilities=cap_net_admin,cap_sys_ptrace,cap_dac_override,cap_sys_resource=i SecureBits=keep-caps [Install] |