udev: prevent dom0 processes from accessing templates root image
This commit is contained in:
parent
7bfa26bd2f
commit
9687180a62
@ -3,3 +3,4 @@
|
||||
ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
|
||||
# ENV{DM_NAME} not available yet
|
||||
ACTION!="remove", SUBSYSTEM=="block", ATTR{dm/name}=="snapshot-*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
|
||||
ACTION!="remove", SUBSYSTEM=="block", ATTR{dm/name}=="origin-*", ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
|
||||
|
Loading…
Reference in New Issue
Block a user