Page MenuHomeFreeBSD

MAC/do: Rename private OSD slot by removing 'mac_do_' prefix
ClosedPublic

Authored by olce on Nov 26 2024, 6:37 PM.
Tags
None
Referenced Files
F113814232: D47772.diff
Fri, Apr 4, 12:42 AM
Unknown Object (File)
Tue, Mar 11, 4:31 PM
Unknown Object (File)
Tue, Mar 11, 4:15 AM
Unknown Object (File)
Wed, Mar 5, 9:37 AM
Unknown Object (File)
Jan 26 2025, 8:59 AM
Unknown Object (File)
Jan 25 2025, 3:46 AM
Unknown Object (File)
Jan 12 2025, 8:41 PM
Unknown Object (File)
Jan 10 2025, 8:55 AM
Subscribers

Details

Summary

This revision is part of a series. Click on the Stack tab below to see the context.
This series has also been squeezed into D47633 to provide an overall view.

Commit message:
This variable is static and holds the OSD slot number for jails that
MAC/do uses to store rules.

In the same vein as previous renames, simplify it by removing the
redundant prefix, as this name cannot appear in code outside of
'mac_do.c', nor in stack traces on panic.

Diff Detail

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

Event Timeline

olce requested review of this revision.Nov 26 2024, 6:37 PM
This revision is now accepted and ready to land.Dec 2 2024, 8:54 AM