Page MenuHomeFreeBSD

D51918.1795589906.diff
No OneTemporary

Authored By
Unknown
Size
491 B
Referenced Files
None
Subscribers
None

D51918.1795589906.diff

diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -2921,7 +2921,8 @@
* Normalizes a set of groups to be applied to a 'struct ucred'.
*
* Normalization ensures that the supplementary groups are sorted in ascending
- * order and do not contain duplicates.
+ * order and do not contain duplicates. This allows group_is_supplementary
+ * to do a binary search.
*/
static void
groups_normalize(int *ngrp, gid_t *groups)

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 25, 6:58 AM (4 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41983533
Default Alt Text
D51918.1795589906.diff (491 B)

Event Timeline