Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149226681
D46910.1789703136.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
353 B
Referenced Files
None
Subscribers
None
D46910.1789703136.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
@@ -2119,8 +2119,7 @@
mac_cred_init(cr);
#endif
cr->cr_groups = cr->cr_smallgroups;
- cr->cr_agroups =
- sizeof(cr->cr_smallgroups) / sizeof(cr->cr_smallgroups[0]);
+ cr->cr_agroups = nitems(cr->cr_smallgroups);
return (cr);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 18, 3:45 AM (20 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29748802
Default Alt Text
D46910.1789703136.diff (353 B)
Attached To
Mode
D46910: cred: crget(): Compute initial 'cr_agroups' with nitems()
Attached
Detach File
Event Timeline
Log In to Comment