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
x/sys/unix: please add syscall definitions for FreeBSD #27072
Comments
The bug report is asking for at least the following system calls to be added to the FreeBSD target:
These values should not be added to the syscall package, which is frozen, but they should be added to the golang.org/x/sys/unix package. |
Actually, all system calls that are defined in the FreeBSD kernel should be defined in go, including module-dependent ones. |
@yurivict I agree. Not sure what you mean by writing "actually." |
Some of the system calls are labeled as optional. All of them, including the optional ones, should be available in go. |
Just poking around to see why this is, and it looks like there are a lot of un-implemented system calls. See syscall_freebsd.go The |
|
Change https://golang.org/cl/129855 mentions this issue: |
See the downstream bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230736
The text was updated successfully, but these errors were encountered: