Hi all, This patchset updates libfrog, xfs_db, xfs_quota to use recently introduced syscalls file_getattr()/file_setattr(). I haven't replaced all the calls to ioctls() with a syscalls, just a few places where syscalls are necessary. If there's more places it would be suitable to update, let me know. Cc: linux-fsdevel@xxxxxxxxxxxxxxx Cc: linux-xfs@xxxxxxxxxxxxxxx --- Changes in v3: - Fix tab vs spaces indents - Update year in SPDX header - Rename AC_HAVE_FILE_ATTR to AC_HAVE_FILE_GETATTR - Link to v2: https://lore.kernel.org/r/20250827-xattrat-syscall-v2-0-82a2d2d5865b@xxxxxxxxxx --- Andrey Albershteyn (4): libfrog: add wrappers for file_getattr/file_setattr syscalls xfs_quota: utilize file_setattr to set prjid on special files xfs_io: make ls/chattr work with special files xfs_db: use file_setattr to copy attributes on special files with rdump configure.ac | 1 + db/rdump.c | 20 ++++++- include/builddefs.in | 5 ++ include/linux.h | 20 +++++++ io/attr.c | 138 ++++++++++++++++++++++++++++-------------------- io/io.h | 2 +- io/stat.c | 2 +- libfrog/Makefile | 2 + libfrog/file_attr.c | 121 ++++++++++++++++++++++++++++++++++++++++++ libfrog/file_attr.h | 35 +++++++++++++ m4/package_libcdev.m4 | 19 +++++++ quota/project.c | 142 ++++++++++++++++++++++++++------------------------ 12 files changed, 380 insertions(+), 127 deletions(-) --- base-commit: 1d287f3d958ebc425275d6a08ad6977e13e52fac change-id: 20250317-xattrat-syscall-839fb2bb0c63 Best regards, -- Andrey Albershteyn <aalbersh@xxxxxxxxxx>