Skip to content

Commit

Permalink
testing mlock
Browse files Browse the repository at this point in the history
  • Loading branch information
radu committed Jun 23, 2024
1 parent 778c822 commit a535769
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ unsafe fn _mlock(ptr: *mut u8, len: usize) -> bool {

/// Calls the platform's underlying `munlock(2)` implementation.
unsafe fn _munlock(ptr: *mut u8, len: usize) -> bool {
println!("munlock len {len}");
memsec::munlock(ptr, len)
}

Expand Down

0 comments on commit a535769

Please sign in to comment.