diff options
author | 2019-05-14 10:01:07 +0200 | |
---|---|---|
committer | 2019-05-14 15:29:22 +0200 | |
commit | b45e9763a5a9b4bf2dc10121afa5e2a643ec815b (patch) | |
tree | 10bd24c20ce5da83f5225d09b017f5338ff6f0e5 /service/errors.go | |
parent | service: replace GetIfEntry2Ex with GetIfEntry2 (diff) | |
download | wireguard-windows-b45e9763a5a9b4bf2dc10121afa5e2a643ec815b.tar.xz wireguard-windows-b45e9763a5a9b4bf2dc10121afa5e2a643ec815b.zip |
service: drop all privileges for tunnel service
Signed-off-by: Odd Stranne <odd@mullvad.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'service/errors.go')
-rw-r--r-- | service/errors.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/service/errors.go b/service/errors.go index 339b61b3..b76ef656 100644 --- a/service/errors.go +++ b/service/errors.go @@ -30,6 +30,7 @@ const ( ErrorOpenNULFile ErrorTrackTunnels ErrorEnumerateSessions + ErrorDropPrivileges ErrorWin32 ) @@ -65,6 +66,8 @@ func (e Error) Error() string { return "Unable to track existing tunnels" case ErrorEnumerateSessions: return "Unable to enumerate current sessions" + case ErrorDropPrivileges: + return "Unable to drop privileges" case ErrorWin32: return "An internal Windows error has occurred" default: |