aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/errors.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-07 20:34:01 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-08 08:31:00 +0200
commit052102e402d53ec6961aecd09c933e43c71aa999 (patch)
tree0b39272e651d7d6da8809a0228248b6cd32a7540 /service/errors.go
parentinstaller: silence LGHT1056 warning (diff)
downloadwireguard-windows-052102e402d53ec6961aecd09c933e43c71aa999.tar.xz
wireguard-windows-052102e402d53ec6961aecd09c933e43c71aa999.zip
service: give process elevated security attributes plus logon session ID with minimal permissions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'service/errors.go')
-rw-r--r--service/errors.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/service/errors.go b/service/errors.go
index eb31bb4e..670c3305 100644
--- a/service/errors.go
+++ b/service/errors.go
@@ -26,7 +26,6 @@ const (
ErrorBindSocketsToDefaultRoutes
ErrorSetNetConfig
ErrorDetermineExecutablePath
- ErrorCreateSecurityDescriptor
ErrorOpenNULFile
ErrorTrackTunnels
ErrorEnumerateSessions
@@ -59,8 +58,6 @@ func (e Error) Error() string {
return "Unable to bind sockets to default route"
case ErrorSetNetConfig:
return "Unable to set interface addresses, routes, dns, and/or adapter settings"
- case ErrorCreateSecurityDescriptor:
- return "Unable to determine security descriptor"
case ErrorOpenNULFile:
return "Unable to open NUL file"
case ErrorTrackTunnels: