Skip to content

Commit

Permalink
config: drop /sys/dev/block from masked paths
Browse files Browse the repository at this point in the history
there is no real advantage in masking this path, since this
information is already available under /sys/devices.  In fact, the
files under /sys/dev/block are just symlinks.

[root@953139a2851f /]# ls -l /sys/dev/block/252\:0
lrwxrwxrwx. 1 root root 0 Dec 17 12:47 /sys/dev/block/252:0 -> ../../devices/virtual/block/zram0

Fixes: #2277
Fixes: https://issues.redhat.com/browse/RHEL-3115

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Dec 17, 2024
1 parent a56e85d commit bd824bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ var (
"/proc/scsi",
"/proc/timer_list",
"/proc/timer_stats",
"/sys/dev/block",
"/sys/devices/virtual/powercap",
"/sys/firmware",
"/sys/fs/selinux",
Expand Down

0 comments on commit bd824bd

Please sign in to comment.