You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like a security hole to me. If M-mode assign an interrupt to S-mode, it does not sound ok for S-mode to throw that back. Seems like an easy way to corrupt M-mode.
I would suggest adding something along the lines of:
When in mode x, it is only allowed to write values to clicintattr.mode which correspond to equally or less privileged modes. Writing other values is reserved.
(Please help me with the language)
The text was updated successfully, but these errors were encountered:
For security purpose, the mode field can only be set to a privilege mode that is equal to or lower than the currently running privilege mode and if interrupts are supported at that privilege mode (e.g. ssclic extension).
This should not be a note, but part of the normative spec.
Looks like a security hole to me. If M-mode assign an interrupt to S-mode, it does not sound ok for S-mode to throw that back. Seems like an easy way to corrupt M-mode.
I would suggest adding something along the lines of:
(Please help me with the language)
The text was updated successfully, but these errors were encountered: