From 32103fcd4fcc5cf1b8ab448c6987ec12aba0dbca Mon Sep 17 00:00:00 2001 From: Odd Stranne Date: Tue, 14 May 2019 10:01:07 +0200 Subject: service: drop all privileges for tunnel service Signed-off-by: Odd Stranne --- service/errors.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'service/errors.go') 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: -- cgit v1.2.3-59-g8ed1b