Created attachment 243347 [details] a test program to articulate how I think the ioctl interface is supposed to work Related to 272455.
Created attachment 243348 [details] a patch correcting the listed return values
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=df56c8069a4c920392ac9fec0adfcc03d9607abc commit df56c8069a4c920392ac9fec0adfcc03d9607abc Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2023-07-12 11:17:14 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2023-07-12 11:17:14 +0000 pf: fix error descriptions in the man page PR: 272459 Submitted by: alex@inferiorhumanorgans.com MFC after: 1 week share/man/man4/pf.4 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)
^Triage: - assign to committer resolving - status, severity.
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=504ddc1932149318c094bd890229dca297a4874f commit 504ddc1932149318c094bd890229dca297a4874f Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2023-07-12 11:17:14 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2023-07-19 07:27:06 +0000 pf: fix error descriptions in the man page PR: 272459 Submitted by: alex@inferiorhumanorgans.com MFC after: 1 week (cherry picked from commit df56c8069a4c920392ac9fec0adfcc03d9607abc) share/man/man4/pf.4 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d84a5e90185ccb06c7230381bb425a0fa8170672 commit d84a5e90185ccb06c7230381bb425a0fa8170672 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2023-07-12 11:17:14 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2023-07-19 07:27:08 +0000 pf: fix error descriptions in the man page PR: 272459 Submitted by: alex@inferiorhumanorgans.com MFC after: 1 week (cherry picked from commit df56c8069a4c920392ac9fec0adfcc03d9607abc) share/man/man4/pf.4 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)