mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
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>
14 lines
343 B
Go
14 lines
343 B
Go
// Copyright 2023 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos
|
|
|
|
package unix
|
|
|
|
var mapper = &mmapper{
|
|
active: make(map[*byte][]byte),
|
|
mmap: mmap,
|
|
munmap: munmap,
|
|
}
|