#1574/#1621: the rendezvous directory is created under %LOCALAPPDATA% * (Windows) or /tmp — /private/tmp on macOS — and that ancestry is not always * acceptable to the private-directory walk. A profile that carries a * mutation-granting ACE for an untrusted identity (an AppContainer capability * SID, for instance) fails it, and the binary then cannot start at all: every * command needs this e
| 241 | * cbm_safe_getenv never truncates: a value too long for the buffer is reported |
| 242 | * as absent, so no half a path can ever become a runtime parent. */ |
| 243 | static const char *bootstrap_runtime_parent_override(char *buffer, size_t capacity) { |
| 244 | const char *value = cbm_safe_getenv("CBM_RUNTIME_DIR", buffer, capacity, NULL); |
| 245 | return value && value[0] != '\0' ? value : NULL; |
| 246 | } |
| 247 | |
| 248 | /* An explicit parent keeps precedence: it carries the compile-time test seam |
| 249 | * and the lifecycle guards' isolated namespace. NULL means the account-wide |
no test coverage detected