freebsd-src/usr.sbin/bsnmpd/modules
Kristof Provost f1612e7087 libpfctl: fix file descriptor leak
pfctl_get_rules_info() opened a netlink socket, but failed to close it again.
Fix this by factoring out the netlink-based function into a _h variant that
takes struct pfctl_handle, and implement pfctl_get_rules_info() based on that,
remembering to close the fd.

While here migrate all in-tree consumers to the _h variant.

MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2024-05-09 14:07:07 +02:00
..
snmp_bridge Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
snmp_hast usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
snmp_hostres Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
snmp_lm75 usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
snmp_mibII Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
snmp_netgraph Remove $FreeBSD$: two-line lua tag 2023-08-16 11:55:30 -06:00
snmp_pf libpfctl: fix file descriptor leak 2024-05-09 14:07:07 +02:00
snmp_target Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
snmp_usm Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
snmp_vacm Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
snmp_wlan snmp_wlan: Fix a couple of type mismatches in function prototypes 2023-11-14 18:36:03 -08:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00