Commit 1ad13b5f authored by Josh Kunz's avatar Josh Kunz

Add a note about why there's no need for membrane_grant here

parent 39722811
Pipeline #1885 passed with stage
in 30 seconds
......@@ -2613,6 +2613,9 @@ int cn_sealer_unsealer_unseal(struct cnode * su, cptr_t sealed,
.payload = (void *) _su,
};
/* Sealer/unsealers are never wrapped, so no need to do a membrane grant
* on unseal. Any additional annotations on the capability itself will
* persist. */
if (cn_grant_extended(cn_cnode_principal(su), sealed,
cn_cnode_principal(su), (void *) &cb_payload,
unsealed, type) != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment