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
F133954209: D42092.id128493.diff
Wed, Oct 29, 2:03 PM
F133954175: D42092.id.diff
Wed, Oct 29, 2:03 PM
F133953926: D42092.id128304.diff
Wed, Oct 29, 2:00 PM
F133953876: D42092.diff
Wed, Oct 29, 2:00 PM
Unknown Object (File)
Fri, Oct 17, 5:23 AM
Unknown Object (File)
Sun, Oct 12, 7:32 PM
Unknown Object (File)
Sun, Oct 12, 7:32 PM
Unknown Object (File)
Sun, Oct 12, 7:32 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.