Skip to content

Commit

Permalink
memory: fix sigbus handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Feb 15, 2024
1 parent 081ea4a commit 00677b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clientmem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ unsafe extern "C" fn sigbus(sig: i32, info: &c::siginfo_t, _ucontext: *mut c::c_
lo as _,
hi - lo,
c::PROT_WRITE | c::PROT_READ,
c::MAP_ANONYMOUS | c::MAP_PRIVATE,
c::MAP_ANONYMOUS | c::MAP_PRIVATE | c::MAP_FIXED,
-1,
0,
);
Expand Down

0 comments on commit 00677b1

Please sign in to comment.