Subject: Re: CVS commit: src/sys/kern
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 08/22/2005 15:45:51
> The correct way to fix that remaining problem is probably to make
> sure the array of group IDs is sorted, and contains no duplicates,
> each time it is changed.

Is that really safe, is the list order not used by anything?  (Well,
aside from the primary gid being special, but presumably the primary
gid would be exempt from the sorting, and possibly the de-duping,

Access checking doesn't care about order, I think.  But is there, for
example, code that depends on getgroups() returning a list identical to
the one passed to setgroups()?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B