Files
hermes-agent/tests
kshitijk4poor 7b29f19146 refactor(constants): share the /proc reader between the cgroup and root-mount probes
_root_mount_has_marker duplicated _proc_file_has_marker's open/OSError shell;
both now go through _read_proc(), and the root-mount scan checks every "/"
line instead of returning on the first. The regression test exercises the
helper on both arms (host running containers -> False, containerd rootfs ->
True, missing file -> False) instead of patching builtins.open globally.
2026-09-08 02:27:24 +05:30
..