]> git.ipfire.org Git - thirdparty/systemd.git/commit
udevadm: gracefully handle when a maked file is specified to udevadm verify/cat
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 Jan 2026 06:48:56 +0000 (15:48 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 16 Jan 2026 14:05:33 +0000 (23:05 +0900)
commit782569afd05b97143938ec294b5a28b4f2ffb75c
tree21aef2db81c619db3a162cd6ac2f9a2fc6b83e42
parent01efa01dd28b9c47c1f5fe84c684d9d13192ec96
udevadm: gracefully handle when a maked file is specified to udevadm verify/cat

Previously, since 7cb4508c5af465ab1be1b103e6c2b613eb58e63c, if a masked
file is specified, the commands failed.
Let's warn that the file is masked and ignore the file.
src/udev/udevadm-util.c
test/units/TEST-17-UDEV.sanity-check.sh
test/units/TEST-17-UDEV.verify.sh