Page MenuHomeFreeBSD

D51918.id160400.diff
No OneTemporary

D51918.id160400.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
Fri, Oct 16, 1:49 AM (20 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40878453
Default Alt Text
D51918.id160400.diff (491 B)

Event Timeline