We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 880c6b2 + 44e1eb7 commit f6178d0Copy full SHA for f6178d0
src/nr.rs
@@ -61,11 +61,16 @@ pub const CAPGET: i32 = 184;
61
#[cfg(target_arch = "x86")]
62
pub const CAPSET: i32 = 185;
63
64
-#[cfg(target_arch = "x86_64")]
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
65
pub const CAPGET: i64 = 125;
66
67
pub const CAPSET: i64 = 126;
68
69
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
70
+pub const CAPGET: i32 = 0x40000000 + 125;
71
72
+pub const CAPSET: i32 = 0x40000000 + 126;
73
+
74
#[cfg(target_arch = "aarch64")]
75
pub const CAPGET: i64 = 90;
76
0 commit comments