File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/tools/miri/src/shims/unix Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
42
42
let map_shared = this. eval_libc_i32 ( "MAP_SHARED" ) ;
43
43
let map_fixed = this. eval_libc_i32 ( "MAP_FIXED" ) ;
44
44
45
- // This is a horrible hack, but on MacOS and Solaris the guard page mechanism uses mmap
45
+ // This is a horrible hack, but on MacOS and Solarish the guard page mechanism uses mmap
46
46
// in a way we do not support. We just give it the return value it expects.
47
47
if this. frame_in_std ( )
48
- && matches ! ( & * this. tcx. sess. target. os, "macos" | "solaris" )
48
+ && matches ! ( & * this. tcx. sess. target. os, "macos" | "solaris" | "illumos" )
49
49
&& ( flags & map_fixed) != 0
50
50
{
51
51
return Ok ( Scalar :: from_maybe_pointer ( Pointer :: from_addr_invalid ( addr) , this) ) ;
You can’t perform that action at this time.
0 commit comments