unix: expose mmap calls on z/OS

The calls `Mmap` and `Munmap` were removed for z/OS.
Syscall removed occurred in: 508397

This change exposes them in a z/OS specific file
(to remove the accidental deletion of them in future refactors of the APIs for `unix-like` OSes).

Change-Id: Ice0cabfb4547cab2ffa7130b7c26d9cc38233afe
GitHub-Last-Rev: e7b4680e63a774209ae5e40765492858871fbe13
GitHub-Pull-Request: golang/sys#186
Reviewed-on: https://go-review.googlesource.com/c/sys/+/569359
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2 files changed
tree: 92ff9e8858680d5a4b9978b1e8e1e6a584610fef
  1. cpu/
  2. execabs/
  3. plan9/
  4. unix/
  5. windows/
  6. .gitattributes
  7. .gitignore
  8. codereview.cfg
  9. CONTRIBUTING.md
  10. go.mod
  11. LICENSE
  12. PATENTS
  13. README.md
README.md

sys

Go Reference

This repository holds supplemental Go packages for low-level interactions with the operating system.

Download/Install

The easiest way to install is to run go get -u golang.org/x/sys. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.