-
Notifications
You must be signed in to change notification settings - Fork 18k
x/sys/unix: add *at (POSIX.1-2008 conformed) functions on darwin. #14458
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
Comments
These syscalls are also supported on FreeBSD, and I need them for a project that currently only supports Linux. |
I would like to second both requests (darwin / FreeBSD) in this issue. |
Yes. Openat is required, as I understand it, to be able to reliably open a path without following symlinks. Currently this is only possible on Linux, with Go... |
I encourage anyone who wants to fix this to write a patch and submit it following the guidelines at https://golang.org/doc/contribute.html. |
Add the Faccessat, Fchownat, Linkat, Mkdirat, Openat, Readlinkat, Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008) and make Fchmodat available on all architectures, not just amd64. Generated on Mac OS 10.11 (Darwin 15.6.0) Fixes golang/go#14458 Change-Id: I6d9258864383ea77f9cad058ee8ba2c728213b40
CL https://golang.org/cl/50450 mentions this issue. |
Add the Faccessat, Fchownat, Linkat, Mkdirat, Openat, Readlinkat, Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008) and make Fchmodat available on all architectures, not just amd64. Also add the missing AT_* constants. Generated on Mac OS 10.11 (Darwin 15.6.0) for darwin/amd64 only. Fixes golang/go#14458 Change-Id: I6d9258864383ea77f9cad058ee8ba2c728213b40
Add the Faccessat, Fchownat, Linkat, Mkdirat, Openat, Readlinkat, Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008) and make Fchmodat available on all architectures, not just amd64. Also add the missing AT_* constants. Generated on Mac OS 10.11 (Darwin 15.6.0) for darwin/amd64 only. Fixes golang/go#14458 Change-Id: I6d9258864383ea77f9cad058ee8ba2c728213b40
Add the Faccessat, Fchownat, Linkat, Mkdirat, Openat, Readlinkat, Renameat, Symlinkat and Unlinkat functions (to conform to POSIX.1-2008) and make Fchmodat available on all architectures, not just amd64. Also add the missing AT_* constants. Generated on Mac OS 10.11 (Darwin 15.6.0) for darwin/amd64 and darwin/386 only. Fixes golang/go#14458 Change-Id: I6d9258864383ea77f9cad058ee8ba2c728213b40 Reviewed-on: https://go-review.googlesource.com/50450 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
OS X 10.10 (IOS 8.0) add list of *at syscalls.
Currently, only
fchmodat
is exposed.The text was updated successfully, but these errors were encountered: