Skip to content

x/sys/unix: missing SYS_MSYNC for NetBSD #18513

@Artoria2e5

Description

@Artoria2e5

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

Problem exists on HEAD.

What operating system and processor architecture are you using (go env)?

Let's pretend I am using NetBSD.

What did you do?

A few days ago I somehow saw edsrdf's mmap-go, which self-defines an syscall number for SYS_MSYNC (277) on NetBSD. Apparently Go's current syscall extraction fails to find it in NetBSD headers.

For cross-check I looked at syscalls.master, which also points to 277 as msync:

277	STD 		{ int|sys|13|msync(void *addr, size_t len, int flags); }

What did you expect to see?

Proper SYS_MSYNC.

What did you see instead?

It doesn't exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeOS-NetBSDSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions