Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SailBugfix: Modifies only Mip in write Sip correctly #384

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

francois141
Copy link
Collaborator

Currently, the implementation allows excessive modification of bits in the Mip register without verifying whether the corresponding interrupts are delegated via Mideleg. This commit addresses the issue by ensuring proper delegation checks, aligning the behavior with the expected privilege separation.

@francois141 francois141 requested a review from CharlyCst January 15, 2025 15:49
Currently, the implementation allows excessive modification of bits in the `Mip` register without verifying whether the corresponding interrupts are delegated via `Mideleg`. This commit addresses the issue by ensuring proper delegation checks, aligning the behavior with the expected privilege separation.
@CharlyCst CharlyCst force-pushed the sailbugfix-sip-write branch from e6fcf53 to f159730 Compare January 27, 2025 16:26
@CharlyCst CharlyCst merged commit fd2d746 into main Jan 27, 2025
1 check passed
@CharlyCst CharlyCst deleted the sailbugfix-sip-write branch January 27, 2025 17:13
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