summaryrefslogtreecommitdiff
path: root/crates/windows-kernel-rs/src/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/windows-kernel-rs/src/process.rs')
-rw-r--r--crates/windows-kernel-rs/src/process.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/windows-kernel-rs/src/process.rs b/crates/windows-kernel-rs/src/process.rs
index e0133c0..1ee6c79 100644
--- a/crates/windows-kernel-rs/src/process.rs
+++ b/crates/windows-kernel-rs/src/process.rs
@@ -70,6 +70,8 @@ pub struct ProcessAttachment {
}
impl ProcessAttachment {
+ /// # Safety
+ /// `unsafe`
pub unsafe fn attach(process: PEPROCESS) -> Self {
let mut state: KAPC_STATE = core::mem::zeroed();