Skip to main content

RIGHT_READ

Constant RIGHT_READ 

Source
pub const RIGHT_READ: u8 = _; // 1u8
Expand description

Capability right bits, mirroring the kernel Rights bitfield (§7.4). Used with the delegated-resource calls (resource_mint/resource_invoke, §7.10): a file cap minted RIGHT_READ | RIGHT_WRITE | RIGHT_GRANT, a read invoked with RIGHT_READ, a write with RIGHT_WRITE (a cap lacking the invoked right fails - the non-escalation check).