chiark / gitweb /
Don't try to change gid unless we're privileged.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 16 Mar 2012 01:17:31 +0000 (01:17 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 16 Mar 2012 01:17:31 +0000 (01:17 +0000)
commitec9b8aed722484df3578cef7a9058aff2ed20852
tree5033ace4ad0dd8c315e34947a1e51c010028b4db
parent2e35470f549072426bf493c73dceff108a05f3b1
Don't try to change gid unless we're privileged.

This affects both tripe(8) and tripectl(1).  The options are still
useful, since they determine the ownership of the administration socket.

This is a result of a long-standing error by the author, who assumed
that it was possible to setgid(2) to any existing supplementary group.
client/tripectl.1.in
common/util.c
server/tripe.8.in