Bug 272459 - pf(4) lists wrong return values for DIOCGETRULESETS and DIOCGETRULESET
Summary: pf(4) lists wrong return values for DIOCGETRULESETS and DIOCGETRULESET
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kristof Provost
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-12 02:34 UTC by alex
Modified: 2023-07-19 07:27 UTC (History)
2 users (show)

See Also:


Attachments
a test program to articulate how I think the ioctl interface is supposed to work (1.36 KB, text/plain)
2023-07-12 02:34 UTC, alex
no flags Details
a patch correcting the listed return values (987 bytes, patch)
2023-07-12 02:34 UTC, alex
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alex 2023-07-12 02:34:01 UTC
Created attachment 243347 [details]
a test program to articulate how I think the ioctl interface is supposed to work

Related to 272455.
Comment 1 alex 2023-07-12 02:34:49 UTC
Created attachment 243348 [details]
a patch correcting the listed return values
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-07-12 13:27:18 UTC
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(-)
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2023-07-14 17:19:32 UTC
^Triage: 

- assign to committer resolving
- status, severity.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-07-19 07:27:53 UTC
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(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-07-19 07:27:54 UTC
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(-)