Skip to content

Commit

Permalink
nfs-utils: Add "statx" patch
Browse files Browse the repository at this point in the history
Add patch:

nfs-utils: Fix elder libc statx problem

76c21e3f ("mountd: Check the stat() return values in match_fsid()") [1]
introduced new error handling. It sets errno to 0 and assumes that it is
stable when there are no errors. However, this conflicts with the logic
in support/misc/xstat.c, which sets errno to ENOSYS if glibc doesn't
support statx() or has an incomplete emulation [2].

Work around by returning "no match" in case of errors as before.
  • Loading branch information
donald committed Mar 8, 2021
1 parent e3abac7 commit 6e9ca6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nfs-utils.be0
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ SRCURL[0]="https://sourceforge.net/projects/nfs/files/nfs-utils/${PKGVERSION}/nf
## The sources will be patched in the order of the array.

PATCHURL+=(/src/mariux/patches/0001-nfs-utils-Fix-typo-in-mountpoint-detection.patch)
PATCHURL+=(/src/mariux/patches/0002-nfs-utils-Fix-elder-libc-statx-problem.patch)

###############################################################################
## Uncomment the next statement, if the software may not be able to be built
Expand Down

0 comments on commit 6e9ca6e

Please sign in to comment.