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
Unknown Object (File)
Mon, Nov 17, 11:45 AM
Unknown Object (File)
Sat, Nov 15, 4:12 PM
Unknown Object (File)
Thu, Nov 13, 5:48 PM
Unknown Object (File)
Thu, Nov 13, 11:17 AM
Unknown Object (File)
Mon, Nov 10, 1:16 AM
Unknown Object (File)
Nov 4 2025, 11:33 PM
Unknown Object (File)
Oct 31 2025, 10:48 AM
Unknown Object (File)
Oct 29 2025, 2:03 PM

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 Not Applicable
Unit
Tests Not Applicable

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.