Files
mu300-linux/rootfs
Abdurrahman Kaan DikeçandClaude Opus 5.5 949d821129 run-dir: nothing deleted recursively and nothing decided by what was seen; the URC log root's alone; FINDINGS 60
The helper removed a foreign /run entry with rm -rf: whoever squatted the name can still write /run and
swap the entry between the look and the removal, and busybox's recursive remove walks by path. Now a
non-directory goes with rm -f --, an empty directory with rmdir, a directory with contents is moved whole
into a directory made for it on the spot (mkdir: ours and 0700, or nothing moves), and the check runs
again at the end. A caller who is not the owner never creates the directory. Tests: the entry swapped for
a symlink after the look, for each kind seen first; a foreign directory kept whole.
mu300-atd: /run/mu300-at/urc 0700 - with caller id on, every ring writes the caller's number there.
mu300-voice: on a kernel without the audio drivers it says so instead of "run mu300-audio-dsp load".
FINDINGS 60 (the /run exposure, still open in boot/init) and what 24c measured on 2026-10-13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-13 08:20:52 +03:00
..