pub const NAME_MAX: usize = 128;Expand description
The longest name the kernel holds - a task’s, a send-peer’s, a directory entry’s - and so the longest a
program can run under and be reached by. 128 since 2026-10-18: an installed package runs under its
publisher/name, which may be that long. It was 24 for a peer and for acquiring by name, and 32 for a
task, and a 26-byte package name was then unreachable by its own clients. Growing it changed the context
page’s layout, so its magic changed with it, and a package built before that is refused at start
(LAYOUT_RELEASE).