Message99928
E-mail to tracker handling still seems to remove '>' quoted lines. I am reposting a couple of comments that got clobbered:
--
> * allocate an array of groupcount gid_t's and call getgroups(groupcount)
>
This is more or less what my original patch did, but it suffers from a
race condition.
> I'll work on a patch that implements this.
>
I am attaching a patch that I wrote yesterday, but did not submit
because it does not fix setgroups. I am attaching it now so that we
can compare our approaches.
--
> Wrt. the value of MAX_GROUPS on Linux: we could change the test that defined > MAX_GROUPS to ensure that the value doesn't get too large, from:
>
> #ifdef NGROUPS_MAX
>
>
> to:
>
> #if defined(NGROUPS_MAX) && NGROUPS_MAX <= 64
>
> This combined with my patch would result in less stack usage while still working > when a user has a lot of secondary groups.
>
Makes sense regardless of the approach. |
|
Date |
User |
Action |
Args |
2010-02-23 15:33:25 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, loewis, ronaldoussoren, orsenthil, r.david.murray, michael.foord, l0nwlf |
2010-02-23 15:33:25 | Alexander.Belopolsky | set | messageid: <1266939205.6.0.731941087374.issue7900@psf.upfronthosting.co.za> |
2010-02-23 15:33:19 | Alexander.Belopolsky | link | issue7900 messages |
2010-02-23 15:33:18 | Alexander.Belopolsky | create | |
|