Page MenuHomeFreeBSD

pf: add a way to list creator ids
ClosedPublic

Authored by kp on Oct 5 2023, 3:49 PM.
Tags
None
Referenced Files
F174536433: D42092.id.diff
Sun, Oct 4, 12:29 AM
F174536418: D42092.id128493.diff
Sun, Oct 4, 12:29 AM
Unknown Object (File)
Thu, Oct 1, 4:11 AM
Unknown Object (File)
Mon, Sep 28, 7:53 PM
Unknown Object (File)
Fri, Sep 18, 6:46 AM
Unknown Object (File)
Sun, Sep 6, 9:25 AM
Unknown Object (File)
Sep 3 2026, 8:40 AM
Unknown Object (File)
Aug 20 2026, 5:44 AM

Details

Summary

Allow userspace to retrieve a list of distinct creator ids for the
current states.

This is used by pfSense, and used to require dumping all states to
userspace. It's rather inefficient to export a (potentially extremely
large) state table to obtain a handful (typically 2) of 32-bit integers.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53856
Build 50747: arc lint + arc unit

Event Timeline

kp requested review of this revision.Oct 5 2023, 3:49 PM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 10 2023, 9:50 AM
This revision was automatically updated to reflect the committed changes.