]> Cypherpunks repositories - gostls13.git/commit
syscall: allow setting security attributes on processes
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 27 Apr 2019 09:45:11 +0000 (11:45 +0200)
committerAlex Brainman <alex.brainman@gmail.com>
Sun, 28 Apr 2019 05:44:03 +0000 (05:44 +0000)
commit049c8dbfdbdd414359699c215f15764a7aa733b5
tree5ae0301bbc4981866f80d859a0ceded4b51b8bbf
parente85d61953040b5e44abbb974d8bfa8802c2e891a
syscall: allow setting security attributes on processes

This allows creating processes that can only be debugged/accessed by
certain tokens, according to a particular security descriptor. We
already had everything ready for this but just neglected to pass through
the value from the user-accessible SysProcAttr.

Change-Id: I4a3fcc9f5078aa0058b26c103355c984093ae03f
Reviewed-on: https://go-review.googlesource.com/c/go/+/174197
Run-TryBot: Jason Donenfeld <Jason@zx2c4.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/syscall/exec_windows.go