From de6d2c524430287c699aaa898c1325da6afea539 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Wed, 20 Jun 2018 22:39:07 +0100 Subject: Update dependencies --- vendor/github.com/sid77/drop/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vendor/github.com/sid77/drop/README.md') diff --git a/vendor/github.com/sid77/drop/README.md b/vendor/github.com/sid77/drop/README.md index 3bea83c..ef71e5f 100644 --- a/vendor/github.com/sid77/drop/README.md +++ b/vendor/github.com/sid77/drop/README.md @@ -18,3 +18,5 @@ if err := drop.DropPrivileges("some user"); err != nil { ``` drop will take care of calling `setre{s}[g,u]id()` depending on the platform it's being run on. + +Beware that if Go coroutines are created *before* dropping the program privileges, some of them may retain the original permissions. This is a [limitation of the Go runtime itself](https://github.com/golang/go/issues/1435). -- cgit v1.2.3