Commit Graph
8 Commits
Author SHA1 Message Date
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
Adam Williams 4811f9fdd6 Add security privilege (needed for VHDX support for docker data root)
Signed-off-by: Adam Williams <awilliams@mirantis.com>
2021-04-05 12:16:07 -07:00
Darren Stahl d8f60f2dd1 Merge pull request #33 from cezarsa/master
Include build tags to allow go get on non-Windows platforms.
2016-11-21 12:05:53 -08:00
John Howard e43ad798e3 Add DisableProcessPrivileges
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-11-02 16:44:36 -07:00
Cezar Sa Espinola 94c0518b08 Include build tags to allow go get on non-Windows platforms. Fixes #30 2016-10-06 18:00:50 -03:00
John Starks f1a78c8aaf Add function for setting privileges globally
Also optimize privilege setting with the same privilege name multiple
times.
2016-05-12 21:33:03 -07:00
John Starks cd7216c8af Fix RunWithPrivilege when the process token already has the privilege 2016-03-05 18:49:41 -08:00
John Starks 6a0656b357 Add functions for running with privileges 2016-02-18 20:36:50 -08:00