Skip to content

Commit

Permalink
templates/kernelmanager.root: Adjust capabilities (tiann#1948)
Browse files Browse the repository at this point in the history
* Following capabilities are removed as not commonly used on Kernel
Managers:
 - CAP_SYS_NICE
 - CAP_PERFMON
 - CAP_SYS_MODULE
 - CAP_SYS_RESOURCE

* Added CAP_DAC_OVERRIDE to prevent read/write permission issues

Signed-off-by: Rem01Gaming <[email protected]>
  • Loading branch information
Rem01Gaming authored Aug 25, 2024
1 parent 9a71bdf commit f4561e5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions website/docs/public/templates/kernelmanager.root
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@
"READPROC"
],
"capabilities":[
"CAP_SYS_MODULE",
"CAP_SYS_NICE",
"CAP_SYS_RESOURCE",
"CAP_KILL",
"CAP_SYSLOG",
"CAP_PERFMON",
"CAP_SYS_BOOT"
"CAP_SYS_BOOT",
"CAP_DAC_OVERRIDE"
],
"context":"u:r:su:s0",
"namespace":"INHERITED",
Expand Down

0 comments on commit f4561e5

Please sign in to comment.