myxce/src/scheduler
Rongsong Shen dfcd345ded
fix(bug-1560): symlink-escape test asserted the wrong error string
test_recordstart_symlink_escape_replies_error expected "invalid record
file name" (the -EINVAL string), but sched_validate_record_filename()'s
canonical-path containment check has always, correctly, returned
-EACCES ("permission denied accessing record file") for a symlink
escaping record_dir -- confirmed against test_recording_path_validation.c's
own direct unit test for the identical scenario, which already asserts
-EACCES and has always passed.

Not environment-dependent as originally suspected (this project's
buglog carried it as a uid-1000-vs-root permission-check-ordering
theory across 7+ sightings since Aug 15) -- it fails identically
regardless of uid, since escape-containment and filesystem-permission
errors were never actually conflated in production code, only in this
test's assertion. No production code changed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019QxaSzHRB7pmYFp4cVnwkA
2026-08-30 15:31:45 +00:00
..
include fix(scheduler): mirror plugin_begin_session/plugin_end_session into sim-mode driver (bug-1681) 2026-08-25 06:40:14 +00:00
src fix(scheduler): don't hand an orphaned duplicate job to the picker 2026-08-30 03:01:14 +00:00
testsuite fix(bug-1560): symlink-escape test asserted the wrong error string 2026-08-30 15:31:45 +00:00
CLAUDE.md docs(scheduler): document driver-equivalence invariant, scope decision-parity fix spec 2026-08-22 02:52:00 +00:00
meson.build fix(scheduler): extend core-isolation nm-audit to core_events.c/core_session.c/core_clock.c (Req 5 AC 1/2) 2026-08-19 11:00:41 +00:00