12 Commits
Author SHA1 Message Date
Danny Canter 4ed8d49cc0 Merge pull request #228 from bitgestalt/fix_localized_account_names
Add lookup of account names by SID
2022-07-06 08:12:37 -07:00
Danny Canter 5af2f31378 Merge pull request #242 from dcantah/swap-to-neterrclosed
Assign ErrPipeListenerClosed to net.ErrClosed
2022-04-20 13:34:27 -07:00
Danny Canter 1e35b45f32 Bump go version to 1.17 in go.mod/CI (#230)
1.13 is sufficiently old at this point and net.ErrClosed from 1.16 will be nice
to use.

This change additionally runs go fmt to bring in the new 1.17 build tag syntax
and builds the binaries in our CI with 1.17+.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2022-04-05 15:56:47 -07:00
Danny Canter 7de02db153 Fix 'OpenVirtualDiskParameters' BOOL fields (#226)
* Fix 'OpenVirtualDiskParameters' BOOL fields

While reworking the vhd package I'd mistakingly replaced some of the fields
in the OpenVersion2 structure with the incorrect types. They're defined as
Windows BOOLS which is just a type alias for an int, and I'd put their type as
go bools.

As the type is already passed into some functions, to avoid a breaking change just
convert the incorrect type to a new structure with the correct definition internally.
Truthfully this turns out a bit better as supplying a bool makes more sense and is
more go friendly.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2022-02-14 21:11:00 -08:00
Danny Canter 01a3671376 Merge pull request #227 from bitgestalt/use_stdlib_errors
Replace github.com/pkg/errors with stdlib errors
2021-12-02 12:27:00 -08:00
Danny Canter a0fd408c2f Merge pull request #219 from dcantah/dco-readme
Update README with DCO information + re-order into sections
2021-09-09 13:06:00 -07:00
Danny Canter a6ee88c751 Merge pull request #208 from dcantah/build-bins-ci
Build the three binaries in this repo from the ci
2021-04-21 19:01:47 -07:00
Danny Canter e98b56db61 Merge pull request #201 from awmirantis/add-se-security-privilege
Add security privilege (needed for VHDX support for docker data root)
2021-04-14 13:34:21 -07:00
Danny Canter 6eac466e5f Merge pull request #185 from TBBle/GetFileStandardInfo
Implement `winio.GetFileStandardInfo`
2021-02-11 03:55:48 -08:00
Danny Canter 644af44635 Merge pull request #189 from dcantah/attach-v1
Remove error if ATTACH_VIRTUAL_DISK_PARAMETERS wasn't version 2
2021-02-09 17:46:10 -08:00
Danny Canter 69491f048a Merge pull request #196 from katiewasnothere/add_codeowners
Add codeowners file so containerplat is auto added as reviewers
2021-02-09 15:35:45 -08:00
Danny Canter d1ffc52c73 Merge pull request #179 from dcantah/virtdisk
Add new virtdisk calls/refactor vhd package
2020-11-30 08:25:21 -08:00