Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175988047
D51918.id160400.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
491 B
Referenced Files
None
Subscribers
None
D51918.id160400.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D51918: ucred groups: restore a useful comment
Attached
Detach File
Event Timeline
Log In to Comment