commit | 5c00192e8ce6429d705e1e4d83b4b22e79482964 | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Sat Sep 21 21:18:49 2019 +0200 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Sat Sep 21 20:48:12 2019 +0000 |
tree | cdc8945438f7aa0bb141652d1e8847594a47066c | |
parent | 14da1ac737ccc89e3a28bf770cbbd260ce7e190b [diff] |
windows: use correct type for security attributes' descriptor member The SECURITY_ATTRIBUTES struct always takes a SECURITY_DESCRIPTOR pointer. Now that we've defined SECURITY_DESCRIPTOR, make SECURITY_ATTRIBUTES properly specify the type. This eliminates the need for terrible uintptr(unsafe.Pointer(...)) casts everywhere. Change-Id: Ibbc85524cfe33589d43f963e10aa19d7f47686f2 Reviewed-on: https://go-review.googlesource.com/c/sys/+/196797 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.