nvpair: chase FreeBSD xdrproc_t definition#18154
Merged
amotin merged 1 commit intoopenzfs:masterfrom Jan 29, 2026
Merged
Conversation
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk>
81f8aed to
620ca71
Compare
amotin
approved these changes
Jan 28, 2026
asomers
approved these changes
Jan 28, 2026
14 tasks
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Jan 29, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154
mcmilk
pushed a commit
to mcmilk/zfs
that referenced
this pull request
Jan 31, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Feb 3, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154
amotin
pushed a commit
to amotin/zfs
that referenced
this pull request
Feb 3, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154
freebsd-git
pushed a commit
to freebsd/freebsd-ports
that referenced
this pull request
Feb 4, 2026
Unbreak build on FreeBSD 16 by adding nvpair.c patch from upstream Source: openzfs/zfs#18154
freebsd-git
pushed a commit
to freebsd/freebsd-ports
that referenced
this pull request
Feb 4, 2026
Unbreak build on FreeBSD 16 by adding nvpair.c patch from upstream Source: openzfs/zfs#18154
tonyhutter
pushed a commit
that referenced
this pull request
Feb 5, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes #18154
brooksdavis
added a commit
to CTSRD-CHERI/zfs
that referenced
this pull request
Feb 11, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154 (cherry picked from commit b364720)
brooksdavis
added a commit
to CTSRD-CHERI/zfs
that referenced
this pull request
Feb 11, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154 (cherry picked from commit b364720)
brooksdavis
added a commit
to CTSRD-CHERI/zfs
that referenced
this pull request
Feb 11, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154 (cherry picked from commit b364720)
brooksdavis
added a commit
to CTSRD-CHERI/zfs
that referenced
this pull request
Feb 11, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154 (cherry picked from commit b364720)
tonyhutter
pushed a commit
to tonyhutter/zfs
that referenced
this pull request
Feb 12, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154
pcd1193182
pushed a commit
to KlaraSystems/zfs
that referenced
this pull request
Apr 8, 2026
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Alan Somers <asomers@freebsd.org> Signed-off-by: Brooks Davis <brooks@capabilitieslimited.co.uk> Closes openzfs#18154
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As of FreeBSD 16, xdrproc_t will take exactly two arguments in both kernel and userspace in line with the Linux kernel.
Signed off by: Brooks Davis brooks@capabilitieslimited.co.uk
Motivation and Context
See the FreeBSD commit message for the logic behind this change https://cgit.freebsd.org/src/commit/?id=ac5a19ec6989675c8ec6c3ca245dba243d1a6416
Description
When building FreeBSD 16, always use the 2 direct argument prototype for xdrproc_t. I've committed a variant of this to FreeBSD.
How Has This Been Tested?
It builds and the prototype doesn't change the ABI on currently supported platforms (which is why the divergent declarations work at all).
Types of changes
Checklist:
Signed-off-by.