maekitalo / tntnet

GNU Lesser General Public License v2.1
74 stars 35 forks source link

When doing setuid(), optionally also pick up supplementary groups of that user #52

Open jimklimov opened 7 years ago

jimklimov commented 7 years ago

process.cpp : when doing setuid(), optionally also pick up supplementary groups of that user (off by default, to behave like before)

jimklimov commented 7 years ago

FYI : As I needed this feature to work in a production build, I backported the logic and other changes to tntnet-2.2.1 ; this code is available as a patch here : http://pastebin.com/2unG2pSM

At the moment this feature "works for us" and no further development is planned.

Review comments, constructive criticism, pointing out bugs, etc. are still most welcome :)