mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-16 13:46:31 +00:00
Add support for CAP_CHECKPOINT_RESTORE privileges (#5426)
This commit is contained in:
parent
bd156ebb53
commit
f02d67ee47
@ -46,6 +46,7 @@ def rating_security(addon: AddonModel) -> int:
|
||||
privilege in addon.privileged
|
||||
for privilege in (
|
||||
Capabilities.BPF,
|
||||
Capabilities.CHECKPOINT_RESTORE,
|
||||
Capabilities.DAC_READ_SEARCH,
|
||||
Capabilities.NET_ADMIN,
|
||||
Capabilities.NET_RAW,
|
||||
|
@ -12,6 +12,7 @@ class Capabilities(StrEnum):
|
||||
"""Linux Capabilities."""
|
||||
|
||||
BPF = "BPF"
|
||||
CHECKPOINT_RESTORE = "CHECKPOINT_RESTORE"
|
||||
DAC_READ_SEARCH = "DAC_READ_SEARCH"
|
||||
IPC_LOCK = "IPC_LOCK"
|
||||
NET_ADMIN = "NET_ADMIN"
|
||||
|
Loading…
x
Reference in New Issue
Block a user