HomeFreeBSD

Simplify dynamic ipfilter sysctls.

Description

Simplify dynamic ipfilter sysctls.

Pass the structure offset in arg2 instead of arg1. This avoids
having to undo the pointer arithmetic on arg1. Instead arg2 can
be used directly as an offset relative to the desired structure.

Reviewed by: cy
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27961

Details

Provenance
jhbAuthored on Jan 21 2021, 12:33 AM
Reviewer
cy
Differential Revision
D27961: Simplify dynamic ipfilter sysctls.
Parents
rG6754ae2572eb: jail: Use refcount(9) for prison references.
Branches
Unknown
Tags
Unknown