]> Cypherpunks repositories - gostls13.git/commit
syscall: introduce SysProcAttr.AdditionalInheritedHandles on Windows
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 31 Jan 2021 17:07:43 +0000 (18:07 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 26 Feb 2021 18:23:47 +0000 (18:23 +0000)
commit3146166baa8c420dfe20619e4aa9978b87927268
treee6fc65697c24b5c8d68d33a062ff235caa3f1dec
parent2d760816ff30bea82f54682f3049cfb6c6027da7
syscall: introduce SysProcAttr.AdditionalInheritedHandles on Windows

This allows users to specify handles that they explicitly want to be
inherited by the new process. These handles must already be marked as
inheritable.

Updates #44011.
Updates #21085.

Change-Id: Ib18322e7dc2909e68c4209e80385492804fa15d3
Reviewed-on: https://go-review.googlesource.com/c/go/+/288298
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/syscall/exec_windows.go