diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2021-04-29 15:38:56 +1000 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2021-05-08 05:57:31 +0000 |
| commit | 4c8f48ed4f3db0e3ba376e6b7a261d26b41d8dd0 (patch) | |
| tree | d78194e06b262be9110289d35eb7d849a0250f7f /src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go | |
| parent | 9d0819b27ca248f9949e7cf6bf7cb9fe7cf574e8 (diff) | |
| download | go-4c8f48ed4f3db0e3ba376e6b7a261d26b41d8dd0.tar.xz | |
syscall: do not change stdio handle inheritance
Before the CL 288297 all Go process handles had to be made
non-inheritable - otherwise they would escape into the child process.
But now this is not necessary.
This CL stops changing inheritance flag of stdint, stdout and stderr
handles.
Fixes #44876
Change-Id: Ib8fcf8066c30282293d96c34486b01b4c04f7116
Reviewed-on: https://go-review.googlesource.com/c/go/+/316269
Trust: Alex Brainman <alex.brainman@gmail.com>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions
