]> Cypherpunks repositories - gostls13.git/commit
cmd/link: ignore "operation not permitted" fallocate errors.
authorJeremy Faller <jeremy@golang.org>
Wed, 28 Oct 2020 14:52:02 +0000 (10:52 -0400)
committerJeremy Faller <jeremy@golang.org>
Thu, 29 Oct 2020 13:53:33 +0000 (13:53 +0000)
commitc45d78013f92a29285cd81488eb7a16819f01e18
treebaeb50fd259344d2050594afe9a33413d6600abc
parent96bd0b1d4c34bf22d8fa6d4710cae334b842f37d
cmd/link: ignore "operation not permitted" fallocate errors.

Ignore an additional class of errors form fallocate, falling back to
heap allocated buffers for output.

Fixes #41356

Change-Id: Iaaa91620cec644c78978e0b258f166bc204a3f85
Reviewed-on: https://go-review.googlesource.com/c/go/+/254777
Trust: Jeremy Faller <jeremy@golang.org>
Run-TryBot: Jeremy Faller <jeremy@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/outbuf.go
src/cmd/link/internal/ld/outbuf_mmap.go
src/cmd/link/internal/ld/outbuf_nofallocate.go