aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/errors.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-02 16:26:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-02 16:34:37 +0200
commita0cda2c718e96612138a079de7233166dc964ee2 (patch)
tree1f80ab3763e7f6698f5a53ec500c4ad27b7e2a7f /service/errors.go
parentservice: correct sid bounds (diff)
downloadwireguard-windows-a0cda2c718e96612138a079de7233166dc964ee2.tar.xz
wireguard-windows-a0cda2c718e96612138a079de7233166dc964ee2.zip
service: set security attributes on new process
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'service/errors.go')
-rw-r--r--service/errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/errors.go b/service/errors.go
index d3f02f54..e456818b 100644
--- a/service/errors.go
+++ b/service/errors.go
@@ -26,6 +26,7 @@ const (
ErrorSetNetConfig
ErrorDetermineExecutablePath
ErrorFindAdministratorsSID
+ ErrorCreateSecurityDescriptor
ErrorOpenNULFile
ErrorTrackTunnels
ErrorEnumerateSessions
@@ -58,6 +59,8 @@ func (e Error) Error() string {
return "Unable to set interface addresses, routes, dns, and/or adapter settings"
case ErrorFindAdministratorsSID:
return "Unable to find Administrators SID"
+ case ErrorCreateSecurityDescriptor:
+ return "Unable to determine security descriptor"
case ErrorOpenNULFile:
return "Unable to open NUL file"
case ErrorTrackTunnels: