Skip to content

Rename to microkit_cspace_root_slot_to_cptr#524

Merged
midnightveil merged 1 commit into
mainfrom
julia/rename-slot-root
Jun 12, 2026
Merged

Rename to microkit_cspace_root_slot_to_cptr#524
midnightveil merged 1 commit into
mainfrom
julia/rename-slot-root

Conversation

@midnightveil

Copy link
Copy Markdown
Collaborator

This reflects the intended usecase of this.

This reflects the intended usecase of this.

Signed-off-by: Julia Vassiliki <julia.vassiliki@unsw.edu.au>
@midnightveil midnightveil merged commit 16f3f58 into main Jun 12, 2026
11 checks passed
@midnightveil midnightveil deleted the julia/rename-slot-root branch June 12, 2026 03:15

@Indanz Indanz left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change breaks all existing user space using this function for no good reason.

@midnightveil

midnightveil commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator Author

This change breaks all existing user space using this function for no good reason.

I merged it yesterday night. I doubt anybody has started using this function since then, especially given that there has been no release.

Comment on lines +519 to 521
static inline seL4_CPtr microkit_cspace_root_slot_to_cptr(seL4_Word slot)
{
if (slot > MICROKIT_MAX_USER_CAPS) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, shouldn't this be:

if (slot >= MICROKIT_MAX_USER_CAPS) {

@Indanz

Indanz commented Jun 12, 2026

Copy link
Copy Markdown

I merged it yesterday night. I doubt anybody has started using this function since then, especially given that there has been no release.

Oh, in that case, don't mind me and carry on.

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.

2 participants