]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
libfrog: add wrappers for listmount and statmount
authorDarrick J. Wong <djwong@kernel.org>
Tue, 3 Mar 2026 19:01:39 +0000 (11:01 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 9 Apr 2026 22:30:16 +0000 (15:30 -0700)
commit67fc0c99ea5170ba82cbf33beda3207371c02a8f
treee5e785d2122d290c1166f9ca4d3dcf940d75f1b8
parent27ddec39aa0d9139b45025d0124a7dbfd0b3a63e
libfrog: add wrappers for listmount and statmount

Add some wrappers for listmount and statmount so that we don't have to
open-code the kernel ABI quirks in every utility program that uses it.
Note that glibc seems to have discussed providing a wrapper in late 2023
but took no action; and the listmount manpage says that there is no
glibc wrapper.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
configure.ac
include/builddefs.in
include/linux.h
libfrog/Makefile
libfrog/statmount.c [new file with mode: 0644]
libfrog/statmount.h [new file with mode: 0644]
m4/package_libcdev.m4