----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47667/#review137435 -----------------------------------------------------------
3rdparty/stout/include/stout/os/posix/su.hpp (line 177) <https://reviews.apache.org/r/47667/#comment202561> Bear in mind that ``SC_NGROUPS_MAX`` is not meaningful on Darwin other than it is the number of groups returned by ``getgroups(2)``. I don't remembee whether ``getgrouplist(3)`` gives you the fill list, but the manpage sounds promising. AFAICT this code will always truncate the list at 16. - James Peach On June 13, 2016, 11:50 p.m., Gilbert Song wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47667/ > ----------------------------------------------------------- > > (Updated June 13, 2016, 11:50 p.m.) > > > Review request for mesos, Artem Harutyunyan, Jie Yu, James Peach, Kevin > Klues, and Timothy Chen. > > > Repository: mesos > > > Description > ------- > > Added stout functions to get and set supplementary groud ids. > > > Diffs > ----- > > 3rdparty/stout/include/stout/os/posix/su.hpp > 0a3f23918be9f4d0b044cd9c45001114bc36fce5 > > Diff: https://reviews.apache.org/r/47667/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Gilbert Song > >
