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
F174628409: D47772.diff
Sun, Oct 4, 7:06 PM
Unknown Object (File)
Fri, Sep 11, 6:27 AM
Unknown Object (File)
Thu, Sep 10, 3:56 PM
Unknown Object (File)
Wed, Sep 9, 1:51 PM
Unknown Object (File)
Sun, Sep 6, 2:50 PM
Unknown Object (File)
Sun, Sep 6, 4:03 AM
Unknown Object (File)
Sun, Sep 6, 3:30 AM
Unknown Object (File)
Sun, Sep 6, 1:04 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60799
Build 57683: arc lint + arc unit

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