Skip to content

Conversation

@rikosellic
Copy link
Collaborator

I found I made a mistake about the permission produced by Arc::into_raw in #253. Unlike Box::into_raw, it does not decrease the reference counter, so it gives a static shared memory permission and no Dealloc permission. Now I unify different permissions in the SmartPtrPointsTo enum and replace the wrong ghost parameters in the NonNullPtr trait.

@rikosellic rikosellic merged commit d062491 into asterinas:phaseII/verified Dec 18, 2025
1 check passed
@rikosellic rikosellic deleted the Fix-smartptr-permission-model branch December 18, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant