Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage of go:linkname #106

Closed
ncruces opened this issue Jun 22, 2024 · 1 comment · Fixed by #107
Closed

Fix usage of go:linkname #106

ncruces opened this issue Jun 22, 2024 · 1 comment · Fixed by #107
Assignees
Labels
enhancement New feature or request

Comments

@ncruces
Copy link
Owner

ncruces commented Jun 22, 2024

// 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.

@ncruces ncruces added the enhancement New feature or request label Jun 22, 2024
@ncruces ncruces self-assigned this Jun 22, 2024
@ncruces
Copy link
Owner Author

ncruces commented Jun 22, 2024

cc: @NyaaaWhatsUpDoc @daenney

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant