homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Alexander.Belopolsky
Recipients Alexander.Belopolsky, l0nwlf, loewis, michael.foord, orsenthil, r.david.murray, ronaldoussoren
Date 2010年02月23日.15:33:18
SpamBayes Score 6.051295e-09
Marked as misclassified No
Message-id <1266939205.6.0.731941087374.issue7900@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010年02月23日 15:33:25Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, loewis, ronaldoussoren, orsenthil, r.david.murray, michael.foord, l0nwlf
2010年02月23日 15:33:25Alexander.Belopolskysetmessageid: <1266939205.6.0.731941087374.issue7900@psf.upfronthosting.co.za>
2010年02月23日 15:33:19Alexander.Belopolskylinkissue7900 messages
2010年02月23日 15:33:18Alexander.Belopolskycreate

AltStyle によって変換されたページ (->オリジナル) /