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