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 / p017_malformed_frames.vec
| 1 | case malformed_frames |
| 2 | kind negative |
| 3 | # platform call frames: every malformed header is refused before any effect |
| 4 | frame A - 4F534846 1 => INVALID_ARG |
| 5 | frame A - 12345678 1 1 0 => INVALID_ARG |
| 6 | frame A - 4F534846 2 1 0 => NOT_SUPPORTED |
| 7 | frame A - 4F534846 0 1 0 => NOT_SUPPORTED |
| 8 | frame A - 4F534846 1 1 1 => INVALID_ARG |
| 9 | frame A - 4F534846 1 0 0 => NOT_SUPPORTED |
| 10 | frame A - 4F534846 1 6 0 => NOT_SUPPORTED |
| 11 | frame A - 4F534846 1 FFFFFFFF00000001 0 => NOT_SUPPORTED |
| 12 | frame A - 4F534846 1 1 0 0 => INVALID_ARG |
| 13 | frame A - 4F534846 1 4 0 0 => INVALID_ARG |
| 14 | check empty |
| 15 | create R W A => OK |
| 16 | frame A - 4F534846 1 3 0 $W => INVALID_ARG |
| 17 | frame A "abc" 4F534846 1 3 0 $W 2 => INVALID_ARG |
| 18 | frame A "abc" 4F534846 1 3 0 $W 0 => OK n=3 |
| 19 | frame A - 4F534846 1 5 0 $R 1 2 => INVALID_ARG |
| 20 | frame A - 4F534846 1 5 0 $R 1 1 => OK |
| 21 | frame A - 4F534846 1 7 0 $R => NOT_SUPPORTED |
| 22 | check bytes_written=3 bytes_read=0 |
| 23 | release B => OK n=1 |
| 24 | frame A - 4F534846 1 4 0 $R => OK |
| 25 | frame A - 4F534846 1 4 0 $R => STALE |
| 26 | close W => OK |
| 27 | check empty |