aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / native / kernel / tests / fixtures / pipe / p007_handle_reuse.vec
| 1 | case handle_reuse |
| 2 | kind negative |
| 3 | # a closed handle is stale even after its slot is reused by a new pipe (generation check) |
| 4 | create R W A => OK |
| 5 | close R => OK |
| 6 | close W => OK |
| 7 | create R2 W2 A => OK |
| 8 | read R 1 => STALE |
| 9 | write W "x" => STALE |
| 10 | close R => STALE |
| 11 | cancel W => STALE |
| 12 | revoke W => STALE |
| 13 | write W2 "ok" => OK n=2 |
| 14 | read R2 8 => OK n=2 data="ok" |
| 15 | close R2 => OK |
| 16 | close W2 => OK |
| 17 | check empty |