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
F165339525: D52251.id161217.diff
Fri, Aug 7, 5:44 PM
Unknown Object (File)
Thu, Aug 6, 2:24 PM
Unknown Object (File)
Thu, Aug 6, 12:50 AM
Unknown Object (File)
Wed, Aug 5, 5:06 AM
Unknown Object (File)
Tue, Jul 28, 10:51 AM
Unknown Object (File)
Sun, Jul 26, 2:46 PM
Unknown Object (File)
Sun, Jul 26, 2:37 PM
Unknown Object (File)
Sat, Jul 25, 3:22 PM
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.