]> Cypherpunks repositories - gostls13.git/commit
ld: mark PE executables as terminal services aware
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 26 Aug 2019 13:08:51 +0000 (07:08 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 31 Aug 2019 14:54:31 +0000 (14:54 +0000)
commit8fc35238a701248c847a32d96bf69a11b67965b2
treee98125ca3122cbbdbf4928d7769b09babc5c3a7b
parent2afe9d4dece86f523dc9e75696bffa158dcbd976
ld: mark PE executables as terminal services aware

This has been the default in MSVC for a very long time, and it's hard to
imagine modern programs actually wanting the old legacy behavior. For
example, no modern programs try to install their junk into C:\windows
and therefore need to have an emulated writable windows directory.
That's not really even allowed by ACLs on modern systems.

Change-Id: Iadaca6815e39ea5c6b05c1cac5a95cfc35e5b48a
Reviewed-on: https://go-review.googlesource.com/c/go/+/191840
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/pe.go