Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/native/kernel/tests/fixtures/pipe/p006_rights.vec # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / native / kernel / tests / fixtures / pipe / p006_rights.vec` 23 lines ยท 535 bytes Raw Blame History 1 case rights 2 kind negative 3 # a read end cannot write and a write end cannot read; dup attenuates and never widens 4 create R W A => OK 5 write R "x" => DENIED 6 read W 1 => DENIED 7 dup R X A w => INVALID_ARG 8 dup R X A rm => INVALID_ARG 9 dup R RB B r => OK 10 dup RB RC B r => DENIED 11 dup RB RC A r => DENIED 12 revoke RB => DENIED 13 cancel W => OK 14 dup W WB B wg => OK 15 dup WB WC B wd => DENIED 16 write WB "q" => INTERRUPTED 17 write WB "q" => OK n=1 18 read RB 4 => OK n=1 data="q" 19 close RB => OK 20 close WB => OK 21 close R => OK 22 close W => OK 23 check empty refused=6