Review 2026-11-13 (tasksd t0076): dtfile's network view ran
system("dtterm -title '%s' -e ssh '%s' &") with the mDNS service name and
host target, and its comment said McdeSys had checked the host -- it had
not: mcde_sys_net_add() only copied it. A host advertising _ssh._tcp with
the target "-oProxyCommand=..." reached ssh as an option, and ssh runs a
ProxyCommand through a shell.
- netmount.c mcde_sys_net_add(): GoodHost() once for every name from the
network (no leading -, letters/digits/. - _ : only); control characters
in the free-text service name become ?.
- NetView.c: SshTerminal() forks and execs dtterm -e ssh -- HOST, no shell,
detached by a second fork (daemon(3) pattern); no system() is left in
the MCDE programs.
- test_netmount (make check): 12 host names, kept or dropped as expected,
and the control character; PASS with test_sysinfo
(build/logs/mcde-linux-netview-2026-11-13.log; dtfile builds).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>