Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167108364
D52257.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
593 B
Referenced Files
None
Subscribers
None
D52257.id.diff
View Options
diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c
--- a/sys/fs/procfs/procfs_status.c
+++ b/sys/fs/procfs/procfs_status.c
@@ -141,13 +141,9 @@
(u_long)cr->cr_uid,
(u_long)cr->cr_ruid,
(u_long)cr->cr_rgid);
-
- /* egid (cr->cr_svgid) is equal to cr_ngroups[0]
- see also getegid(2) in /sys/kern/kern_prot.c */
-
- for (i = 0; i < cr->cr_ngroups; i++) {
+ sbuf_printf(sb, ",%lu", (u_long)cr->cr_gid);
+ for (i = 0; i < cr->cr_ngroups; i++)
sbuf_printf(sb, ",%lu", (u_long)cr->cr_groups[i]);
- }
if (jailed(cr)) {
mtx_lock(&cr->cr_prison->pr_mtx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 20, 4:00 AM (2 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36977034
Default Alt Text
D52257.id.diff (593 B)
Attached To
Mode
D52257: procfs: Restore printing the effective GID in 'status'
Attached
Detach File
Event Timeline
Log In to Comment