]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: PFRULE_REFS should not be user-visible
authorKristof Provost <kp@FreeBSD.org>
Thu, 15 Apr 2021 11:38:56 +0000 (13:38 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 19 Apr 2021 12:31:47 +0000 (14:31 +0200)
commit4f1f67e88853ac9e3c2d8897cf6dab6cfda8d16e
tree87d5f829983b2175584d2c39a066b3bd007c2f42
parent4ae3a97e127cea14277b904af31483af7e6e2891
pf: PFRULE_REFS should not be user-visible

Split the PFRULE_REFS flag from the rule_flag field. PFRULE_REFS is a
kernel-internal flag and should not be exposed to or read from
userspace.

MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29778
sys/net/pfvar.h
sys/netpfil/pf/pf.c
sys/netpfil/pf/pf_ioctl.c