interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / native / kernel / tests / fixtures / pipe / p007_handle_reuse.vec

17 lines · 378 bytes Raw Blame History
1case handle_reuse
2kind negative
3# a closed handle is stale even after its slot is reused by a new pipe (generation check)
4create R W A => OK
5close R => OK
6close W => OK
7create R2 W2 A => OK
8read R 1 => STALE
9write W "x" => STALE
10close R => STALE
11cancel W => STALE
12revoke W => STALE
13write W2 "ok" => OK n=2
14read R2 8 => OK n=2 data="ok"
15close R2 => OK
16close W2 => OK
17check empty