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 / p020_transfer.vec
| 1 | case transfer |
| 2 | kind positive |
| 3 | # an end handed to another principal's table (GRANT) works there; the giver closes its copy |
| 4 | create R W A => OK |
| 5 | dup R RB B rv => OK |
| 6 | close R => OK |
| 7 | write W "\x00\x01\x02" => OK n=3 |
| 8 | read RB 3 => OK n=3 data="\x00\x01\x02" |
| 9 | revoke RB => OK |
| 10 | write W "x" => REVOKED |
| 11 | close RB => OK |
| 12 | close W => OK |
| 13 | check empty revocations=1 |