We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91214e2 commit 4abf353Copy full SHA for 4abf353
src/registers/control.rs
@@ -143,7 +143,7 @@ bitflags! {
143
///
144
/// Also enables access to the PKRU register (via the `RDPKRU`/`WRPKRU`
145
/// instructions) to set user-mode protection key access controls.
146
- const PROTECTION_KEY = 1 << 22;
+ const PROTECTION_KEY_USER = 1 << 22;
147
/// Enables Control-flow Enforcement Technology (CET)
148
149
/// This enables the shadow stack feature, ensuring return addresses read
0 commit comments