syscall: add Mmap for Solaris and Illumos? #52875
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-illumos
OS-Solaris
Milestone
Solaris supports an
mmap
syscall.x/sys/unix.Mmap
is defined for GOOS=solaris, andruntime.mmap
appears to use the system call as well.And yet, even though
Mmap
exists on Solaris andsyscall.Mmap
exists on most Go Unix ports, for some reasonsyscall.Mmap
does not appear to be defined forGOOS=solaris
orGOOS=illumos
.We're looking at possibly using
syscall.Mmap
incmd/go
in https://go.dev/cl/403975 (CC @matloob). Would it make sense to addsyscall.Mmap
,syscall.Munmap
, and related constants for Solaris and Illumos for consistency with other platforms?(CC @ianlancetaylor @tklauser @golang/solaris @golang/illumos)
The text was updated successfully, but these errors were encountered: