CTSRD-CHERI / cheri-c-programming

CHERI C/C++ Programming Guide
28 stars 3 forks source link

CHERI_PERM_LOAD_CAP / CHERI_PERM_STORE_CAP #29

Open ruben-arm opened 2 years ago

ruben-arm commented 2 years ago

Would it be possible to clarify semantics of these permissions please? The document says Authorize capability load via this capability. suggesting it is sufficient to have e.g. CHERI_PERM_LOAD_CAP to load capability. However, some other CHERI-related documents specify that CHERI_PERM_LOAD_CAP isn't effective without CHERI_PERM_LOAD. I'd appreciate a confirmation on which option should be considered correct for CHERI generally.