mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-27 20:36:31 -04:00
unix: add mount(2) for macOS
The 'data' argument of this method needs to point to a file system type specific data structure. In the case of NFS (which I'm interested in using), this needs to point to an XDR encoded message. The schema for this message can be found here: https://github.com/apple-oss-distributions/NFS/blob/main/mount_nfs/nfs_sys_prot.x Change-Id: Ia49562ba6e8ab5d4c00eb961db6862fb1310b74e GitHub-Last-Rev: 62c32df776263b4efb315077536740ae8fe7e53f GitHub-Pull-Request: golang/sys#125 Reviewed-on: https://go-review.googlesource.com/c/sys/+/405494 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
committed by
Ian Lance Taylor
parent
988cb79eb6
commit
45d2b4557a
@@ -90,6 +90,7 @@ var darwinTests = [...]darwinTest{
|
||||
{"mlock", libc_mlock_trampoline_addr},
|
||||
{"mlockall", libc_mlockall_trampoline_addr},
|
||||
{"mmap", libc_mmap_trampoline_addr},
|
||||
{"mount", libc_mount_trampoline_addr},
|
||||
{"mprotect", libc_mprotect_trampoline_addr},
|
||||
{"msync", libc_msync_trampoline_addr},
|
||||
{"munlock", libc_munlock_trampoline_addr},
|
||||
|
||||
Reference in New Issue
Block a user