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

permanently_disable_interrupts shouldn't be unsafe. #420

Open
todo bot opened this issue Aug 12, 2019 · 0 comments
Open

permanently_disable_interrupts shouldn't be unsafe. #420

todo bot opened this issue Aug 12, 2019 · 0 comments
Assignees
Labels
project-kernel Related to the kernel safety Something is unsound, could be unsafe todo 🗒️ Created by the todo bot

Comments

@todo
Copy link

todo bot commented Aug 12, 2019

disabling interrupts doesn't break any safety guidelines, and is perfectly safe as far as rustc is concerned.


// todo: permanently_disable_interrupts shouldn't be unsafe.
// body: disabling interrupts doesn't break any safety guidelines, and is perfectly safe as far as rustc is concerned.
// Disable interrupts forever!
unsafe { sync::permanently_disable_interrupts(); }
// Don't deadlock in the logger


This issue was generated by todo based on a todo comment in 7333eaf when #415 was merged. cc @Orycterope.
@todo todo bot added the todo 🗒️ Created by the todo bot label Aug 12, 2019
@roblabla roblabla added project-kernel Related to the kernel safety Something is unsound, could be unsafe labels Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project-kernel Related to the kernel safety Something is unsound, could be unsafe todo 🗒️ Created by the todo bot
Projects
None yet
Development

No branches or pull requests

2 participants