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
Unknown Object (File)
Fri, Oct 10, 11:57 PM
Unknown Object (File)
Fri, Oct 10, 11:57 PM
Unknown Object (File)
Fri, Oct 10, 11:57 PM
Unknown Object (File)
Fri, Oct 10, 5:31 PM
Unknown Object (File)
Mon, Oct 6, 3:51 AM
Unknown Object (File)
Fri, Sep 26, 7:37 PM
Unknown Object (File)
Fri, Sep 26, 8:33 AM
Unknown Object (File)
Thu, Sep 25, 11:17 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.