Re: glibc and getgrouplist
- From: Roland Illig <roland illig gmx de>
- To: Leonard den Ottolander <leonard den ottolander nl>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: glibc and getgrouplist
- Date: Fri, 22 Jul 2005 15:46:45 +0200
Leonard den Ottolander wrote:
On Fri, 2005-07-22 at 15:00, Pavel Tsekov wrote:
Roland's patch looks good and it is pretty straight-forward. I vote for
its inclusion in PRE.
And totally untested.
I have tested it on NetBSD/i386. The "normal" case works well, and I
have also simulated the situation when getgroups() should return -1. The
effect is that the return value will never be 1 in that case.
But as the only possible failures are EFAULT (wrong address) and EINVAL
(ngroups out of range) on Linux, Solaris and NetBSD (and probably most
others), this should not occur anyway.
Roland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]