Skip to content

Commit

Permalink
Merge pull request #90 from mahkoh/jorth/sigbus
Browse files Browse the repository at this point in the history
memory: fix sigbus handling
  • Loading branch information
mahkoh authored Feb 15, 2024
2 parents 081ea4a + 00677b1 commit 8da6285
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 8da6285

Please sign in to comment.