fix: storage tables grow (handles, open files, encrypted opens, grants: Slots/Vec, no 8/16 caps; release follows all narrowed grants); storage says FULL, init spawn STORAGE_BUSY (was NOT_FOUND), pm BUSY; cap slots per process 64 -> 255

This commit is contained in:
2026-10-28 16:17:36 +01:00
parent 3b71f29f4c
commit 1f2134fcec
19 changed files with 208 additions and 128 deletions

View File

@@ -68,9 +68,10 @@ fn out_of_range_arguments_do_not_decode() {
"a thread keeps 8 replies"
);
assert!(decode(SYS_REPLY_SAVED, &[7, 0, 0, 0, 0, NONE]).is_some());
assert!(decode(SYS_RECEIVE, &[64, 0, 0, 0, 0, 0]).is_none());
let past = types::bounded::CapSlot::MAX as usize + 1;
assert!(decode(SYS_RECEIVE, &[past, 0, 0, 0, 0, 0]).is_none());
assert!(
decode(SYS_SEND, &[1, 0, 0, 0, 0, 64]).is_none(),
decode(SYS_SEND, &[1, 0, 0, 0, 0, past]).is_none(),
"bad cap slot"
);
assert!(