Page MenuHomeFreeBSD

ddb ps: Print again the effective GID, separately
ClosedPublic

Authored by olce on Aug 29 2025, 11:02 PM.
Tags
None
Referenced Files
F162606185: D52251.diff
Tue, Jul 14, 11:44 PM
Unknown Object (File)
Tue, Jul 7, 7:58 AM
Unknown Object (File)
Sun, Jul 5, 4:12 AM
Unknown Object (File)
Fri, Jul 3, 10:08 AM
Unknown Object (File)
Thu, Jul 2, 8:57 PM
Unknown Object (File)
Tue, Jun 30, 3:20 PM
Unknown Object (File)
Tue, Jun 30, 3:20 PM
Unknown Object (File)
Wed, Jun 24, 12:03 AM
Subscribers

Details

Summary

Following commit be1f7435ef218b1d ("kern: start tracking cr_gid outside
of cr_groups[]"), cr_groups[] doesn't contain the effective GID anymore.
Fix the 'show proc' DDB command to show it again, and make it stand out
with respect to the supplementary ones.

Fixes: be1f7435ef218b1d ("kern: start tracking cr_gid outside of cr_groups[]")
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olce requested review of this revision.Aug 29 2025, 11:02 PM

In addition to the fix, I took the "opportunity" to isolate the effective GID when printing. Is that acceptable?

This revision was not accepted when it landed; it landed in state Needs Review.Sep 9 2025, 3:58 PM
This revision was automatically updated to reflect the committed changes.