On 2025-08-12 01:51:07, Zorro Lang wrote: > On Fri, Aug 08, 2025 at 09:31:56PM +0200, Andrey Albershteyn wrote: > > This programs uses newly introduced file_getattr and file_setattr > > syscalls. This program is partially a test of invalid options. This will > > be used further in the test. > > > > Signed-off-by: Andrey Albershteyn <aalbersh@xxxxxxxxxx> > > --- > > .gitignore | 1 + > > configure.ac | 1 + > > include/builddefs.in | 1 + > > m4/package_libcdev.m4 | 16 +++ > > src/Makefile | 5 + > > src/file_attr.c | 277 ++++++++++++++++++++++++++++++++++++++++++++++++++ > > 6 files changed, 301 insertions(+) > > > > diff --git a/.gitignore b/.gitignore > > index 4fd817243dca..1a578eab1ea0 100644 > > --- a/.gitignore > > +++ b/.gitignore > > @@ -210,6 +210,7 @@ tags > > /src/fiemap-fault > > /src/min_dio_alignment > > /src/dio-writeback-race > > +/src/file_attr > > I'm wondering if xfsprogs/xfs_io would like to have this command :) it has chattr/lsattr, but this one also generates quite a few invalid arguments for these syscalls, I don't think it would be useful in xfs_io -- - Andrey