freebsd-dev/lib
Kristof Provost 7ed19f5c77 libpfctl: grow request buffer on ENOSPC
When we issue a request to pf and expect a serialised nvlist as a reply
we have to supply a suitable buffer to the kernel.
The required size for this buffer is difficult to predict, and may be
(slightly) different from request to request.
If it's insufficient the kernel will return ENOSPC. Teach libpfctl to
catch this and send the request again with a larger buffer.

MFC after:	2 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D34908
2022-04-20 10:51:39 +02:00
..
atf
clang powerpc: Enable LLDB on all powerpc architectures 2022-01-26 15:03:27 +01:00
csu mips: Remove CSU 2021-12-31 00:14:52 -07:00
flua
geom geli: Add a chicken switch for unmapped I/O 2022-04-18 17:55:24 -04:00
googletest
lib9p
lib80211
libalias
libarchive libarchive: fix zstd compression support 2022-04-08 10:11:25 +02:00
libauditd
libbe bectl: push space-in-name check down into libbe 2022-04-02 21:04:31 -05:00
libbearssl
libbegemot
libblacklist
libblocksruntime
libbluetooth
libbsddialog libbsddialog: Add _XOPEN_SOURCE_EXTENDED for widechar form 2022-03-05 02:24:37 +01:00
libbsdstat
libbsm
libbsnmp
libbz2
libc time(3): Refine history in the manual page 2022-04-14 10:04:14 +02:00
libc_nonshared
libc++ Install unwind.h into /usr/include 2022-02-10 19:00:32 +01:00
libc++experimental
libcalendar
libcam cam_get_device: resolve path links before parsing device name 2022-01-26 11:25:31 +02:00
libcapsicum
libcasper cap_fileargs: silence warnings of unused variable 2022-03-20 11:22:55 +01:00
libcbor
libclang_rt riscv: fix riscv64sf build 2022-03-24 15:25:41 +01:00
libcom_err
libcompat
libcompiler_rt Build compiler-rt against libunwind, not libcxxrt 2022-03-09 22:23:35 +01:00
libcrypt
libcuse
libcxxrt Sort SRCS in libcxxrt's Makefile, and use += to list sources 2022-01-22 21:08:55 +01:00
libdevctl libdevctl: Add devctl_getpath 2022-03-01 08:06:41 -07:00
libdevdctl
libdevinfo
libdevstat
libdl
libdpv
libdwarf
libedit
libefivar libefivar(3): Fix a typo in a source code comment 2022-03-28 19:27:58 +02:00
libelf
libelftc
libevent1
libexecinfo
libexpat MFV f83ac37f1e: libbsdxml (expat) 2.4.3. 2022-01-17 16:34:41 -08:00
libfetch pkgbase: Create a FreeBSD-fetch package 2021-12-21 10:17:46 +01:00
libfido2
libfigpar
libgcc_eh Install unwind.h into /usr/include 2022-02-10 19:00:32 +01:00
libgcc_s
libgeom GEOM: Fix regression after 7f16b501e2. 2022-03-16 00:06:49 -04:00
libgpio
libgssapi
libiconv_modules
libifconfig
libipsec libipsec: Fix a typo in a source code comment 2022-04-09 14:08:47 +02:00
libipt
libiscsiutil iscsi: per-session timeouts and rapid teardown of session on reconnect 2022-02-25 10:35:47 +01:00
libjail
libkiconv
libkvm kern_tc.c/cputick2usec() (which is used to calculate cputime from 2022-03-21 09:33:46 -04:00
libldns
liblua
liblutok
liblzma
libmagic file: Fix cross-compilation on Darwin/macOS 2022-01-07 07:52:34 -07:00
libmd libmd: Fix a common typo in the license header 2022-03-27 19:46:32 +02:00
libmemstat
libmilter
libmixer mixer.4 and mixer.8: Fix mandoc -Tlint errors. 2022-03-20 20:21:03 +01:00
libmp
libmt mt(3): Fix a typo in the manual page 2022-04-06 18:41:08 +02:00
libnetbsd libnetbsd: Fix a typo in a source code comment 2022-04-02 14:53:56 +02:00
libnetgraph
libnetmap
libngatm
libnv skip test case nvlist_send_recv__send_many_fds__dgram 2022-01-02 12:26:07 -09:00
libomp
libopenbsd
libopencsd
libopie
libpam ssh: update to OpenSSH v8.9p1 2022-04-13 16:00:56 -04:00
libpathconv
libpcap
libpe
libpfctl libpfctl: grow request buffer on ENOSPC 2022-04-20 10:51:39 +02:00
libpjdlog
libpmc pmc(3): Fix a common typo in json descriptions 2022-03-28 19:32:21 +02:00
libpmcstat libpmcstat: Fix a few ARM-specific issues with function symbols. 2022-03-10 15:39:53 -08:00
libproc
libprocstat libprocstat: document procstat_getadvlock(3) 2022-04-10 00:47:49 +03:00
libradius
libregex pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
librpcsec_gss
librpcsvc pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
librss
librt
librtld_db
libsbuf
libsdp
libsecureboot Merge bearssl-20220418 2022-04-18 14:52:30 -07:00
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libssp
libssp_nonshared
libstats
libstdbuf
libstdthreads
libsysdecode libsysdecode: Add regression tests for sysdecode_cap_rights(3) 2022-04-15 10:23:32 -04:00
libtacplus
libtelnet
libthr libthr: Disable stack unwinding on ARM. 2022-02-10 12:47:08 -08:00
libthread_db mips: Remove thread_db support 2021-12-31 00:14:53 -07:00
libucl
libufs
libugidfw
libulog
libunbound
libusb libusb(3): Ignore SIGPIPE when initializing the LibUSB v1.0 API. 2022-03-02 12:33:40 +01:00
libusbhid libusb: remove use of COMPAT_32BIT 2021-12-17 21:28:14 +00:00
libutil pidfile: add pidfile_signal 2022-04-09 15:59:43 +00:00
libveriexec
libvgl
libvmmapi libvmm: constify vm_get_name() 2022-03-17 21:38:21 -08:00
libwrap pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
libxo
liby
libypclnt pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
libz lib/libz: remove ZLIBprivate_1.0 namespace. 2022-04-03 14:38:31 -07:00
libzstd Disable clang 14 warning about bitwise operators in zstd 2022-02-08 21:46:08 +01:00
msun Remove checks for __GNUCLIKE_ASM assuming it is always true. 2022-04-12 10:05:45 -07:00
ncurses
ofed
tests
Makefile riscv: actually enable sanitizers 2022-03-13 13:06:57 +01:00
Makefile.inc