Skip to content

Fix usage of go:linkname #106

Closed
Closed
@ncruces

Description

@ncruces

// We need the low level mmap for MAP_FIXED to work.
// Bind the syscall version hoping that it is more stable.
//go:linkname mmap syscall.mmap
func mmap(addr, length uintptr, prot, flag, fd int, pos int64) (*byte, error)

This is being worked on:
golang/go#56123
golang/sys#197

Goal is to fix it in time for Go 1.23.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions