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 / p003_zero_length.vec
| 1 | case zero_length |
| 2 | kind negative |
| 3 | # zero-length read and write move nothing; authority and state are still checked |
| 4 | create R W A => OK |
| 5 | write W "" => OK n=0 |
| 6 | read R 0 => OK n=0 |
| 7 | read R 4 => WOULD_BLOCK |
| 8 | write R "" => DENIED |
| 9 | close R => OK |
| 10 | write W "" => BROKEN_PIPE |
| 11 | close W => OK |
| 12 | check empty |