file_setattr/file_getattr testing suite
v6 cover file_setattr/file_getattr testing suite
This testing suite is validating file_getattr and file_setattr syscalls, introducing tests for error validation and basic functionalities. These features have been introduced in the kernel 6.17.
https://lore.kernel.org/lkml/20250725-vfs-fileattr-fcfc534aac44@brauner/
---
Changes in v6:
- HAVE_FILE_GETATTR/HAVE_FILE_SETATTR
- file_attr01: use FILE_ATTR_SIZE_VER0
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- file_attr04: only check for ENOTDIR
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- import <linux/fs.h> in lapi/fs.h via HAVE_LINUX_FS
- file_attr01: initialize variables via .bufs and add one more test case
for invalid usize
- file_attr02: avoid setting file desc to -1
- file_attr03: make use of AT_FWD
- add file_attr04 test
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- fix fallback for fsxattr flags attributes
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- remove unrelated files
- fix fs.h ifndef
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Andrea Cervesato (7):
Update LTP to the latest syscalls
fs: add struct fsxattr fallback definitions
fs: add file_setattr/file_getattr fallback definitions Add file_attr01 test
Add file_attr02 test
Add file_attr03 test
Add file_attr04 test
configure.ac | 6 + include/lapi/fs.h | 70 ++++++++- include/lapi/syscalls/arc.in | 7 + include/lapi/syscalls/arm.in | 7 + include/lapi/syscalls/arm64.in | 7 + include/lapi/syscalls/i386.in | 7 + include/lapi/syscalls/loongarch64.in | 7 + include/lapi/syscalls/mips64.in | 7 + include/lapi/syscalls/mips64n32.in | 7 + include/lapi/syscalls/mipso32.in | 7 + include/lapi/syscalls/parisc.in | 7 + include/lapi/syscalls/powerpc.in | 7 + include/lapi/syscalls/powerpc64.in | 7 + include/lapi/syscalls/s390.in | 7 + include/lapi/syscalls/s390x.in | 7 + include/lapi/syscalls/sh.in | 7 + include/lapi/syscalls/sparc.in | 7 + include/lapi/syscalls/sparc64.in | 7 + include/lapi/syscalls/x86_64.in | 7 + runtest/syscalls | 5 + testcases/kernel/syscalls/file_attr/.gitignore | 4 + testcases/kernel/syscalls/file_attr/Makefile | 8 + testcases/kernel/syscalls/file_attr/file_attr01.c | 178 ++++++++++++++++++++++ testcases/kernel/syscalls/file_attr/file_attr02.c | 92 +++++++++++ testcases/kernel/syscalls/file_attr/file_attr03.c | 76 +++++++++ testcases/kernel/syscalls/file_attr/file_attr04.c | 62 ++++++++ 26 files changed, 619 insertions(+), 1 deletion(-)
---
base-commit: e59c60ff44bfc50a360838cc2819e693f3741d75
change-id: 20250801-file_setattr_getattr-74963fd52b05
Best regards,
Signature · 5 lines
Andrea Cervesato <[email protected]> -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v6 1/7 Update LTP to the latest syscalls
From: Andrea Cervesato <[email protected]>
Add the following syscalls:
- setxattrat
- getxattrat
- listxattrat
- removexattrat
- open_tree_attr
- file_getattr
- file_setattr
--- include/lapi/syscalls/arc.in | 7 +++++++ include/lapi/syscalls/arm.in | 7 +++++++ include/lapi/syscalls/arm64.in | 7 +++++++ include/lapi/syscalls/i386.in | 7 +++++++ include/lapi/syscalls/loongarch64.in | 7 +++++++ include/lapi/syscalls/mips64.in | 7 +++++++ include/lapi/syscalls/mips64n32.in | 7 +++++++ include/lapi/syscalls/mipso32.in | 7 +++++++ include/lapi/syscalls/parisc.in | 7 +++++++ include/lapi/syscalls/powerpc.in | 7 +++++++ include/lapi/syscalls/powerpc64.in | 7 +++++++ include/lapi/syscalls/s390.in | 7 +++++++ include/lapi/syscalls/s390x.in | 7 +++++++ include/lapi/syscalls/sh.in | 7 +++++++ include/lapi/syscalls/sparc.in | 7 +++++++ include/lapi/syscalls/sparc64.in | 7 +++++++ include/lapi/syscalls/x86_64.in | 7 +++++++ 17 files changed, 119 insertions(+)
include/lapi/syscalls/arc.in +7 -0
@@ -340,3 +340,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/arm.in +7 -0
@@ -413,3 +413,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/arm64.in +7 -0
@@ -316,3 +316,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/i386.in +7 -0
@@ -447,3 +447,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/loongarch64.in +7 -0
@@ -312,3 +312,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/mips64.in +7 -0
@@ -362,3 +362,10 @@ lsm_get_self_attr 5459 lsm_set_self_attr 5460 lsm_list_modules 5461 mseal 5462 +setxattrat 5463 +getxattrat 5464 +listxattrat 5465 +removexattrat 5466 +open_tree_attr 5467 +file_getattr 5468 +file_setattr 5469
include/lapi/syscalls/mips64n32.in +7 -0
@@ -386,3 +386,10 @@ lsm_get_self_attr 6459 lsm_set_self_attr 6460 lsm_list_modules 6461 mseal 6462 +setxattrat 6463 +getxattrat 6464 +listxattrat 6465 +removexattrat 6466 +open_tree_attr 6467 +file_getattr 6468 +file_setattr 6469
include/lapi/syscalls/mipso32.in +7 -0
@@ -426,3 +426,10 @@ lsm_get_self_attr 4459 lsm_set_self_attr 4460 lsm_list_modules 4461 mseal 4462 +setxattrat 4463 +getxattrat 4464 +listxattrat 4465 +removexattrat 4466 +open_tree_attr 4467 +file_getattr 4468 +file_setattr 4469
include/lapi/syscalls/parisc.in +7 -0
@@ -395,3 +395,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/powerpc.in +7 -0
@@ -437,3 +437,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/powerpc64.in +7 -0
@@ -409,3 +409,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/s390.in +7 -0
@@ -430,3 +430,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/s390x.in +7 -0
@@ -378,3 +378,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/sh.in +7 -0
@@ -424,3 +424,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/sparc.in +7 -0
@@ -428,3 +428,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/sparc64.in +7 -0
@@ -391,3 +391,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
include/lapi/syscalls/x86_64.in +7 -0
@@ -373,3 +373,10 @@ lsm_get_self_attr 459 lsm_set_self_attr 460 lsm_list_modules 461 mseal 462 +setxattrat 463 +getxattrat 464 +listxattrat 465 +removexattrat 466 +open_tree_attr 467 +file_getattr 468 +file_setattr 469
Signature · 5 lines
2.50.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v6 2/7 fs: add struct fsxattr fallback definitions
In reply to Andrea CervesatoFrom: Andrea Cervesato <[email protected]>
Add strut fsxattr fallback, as well as FS_IOC_FSGETFLAGS and FS_IOC_FSSETFLAGS.
--- configure.ac | 3 +++ include/lapi/fs.h | 22 +++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-)
configure.ac +3 -0
@@ -61,6 +61,7 @@ AC_CHECK_HEADERS_ONCE([ \ linux/cryptouser.h \ linux/close_range.h \ linux/dccp.h \ + linux/fs.h \ linux/futex.h \ linux/genetlink.h \ linux/genhd.h \
@@ -264,6 +265,8 @@ AC_CHECK_TYPES([struct statmount],,,[#include <sys/mount.h>]) AC_CHECK_TYPES([struct pidfd_info],,,[#include <sys/pidfd.h>]) +AC_CHECK_TYPES([struct fsxattr],,,[#include <linux/fs.h>]) + # Tools knobs # Bash
include/lapi/fs.h +21 -1
@@ -10,14 +10,26 @@#define LAPI_FS_H__ #include "config.h" -#ifndef HAVE_MOUNT_SETATTR +#ifndef HAVE_LINUX_FS # include <linux/fs.h> #endif +#include <stdint.h> #include <sys/user.h> #include <limits.h> #include "lapi/abisize.h" +#ifndef HAVE_STRUCT_FSXATTR +struct fsxattr { +uint32_t fsx_xflags;/* xflags field value (get/set) */ +uint32_t fsx_extsize;/* extsize field value (get/set)*/ +uint32_t fsx_nextents;/* nextents field value (get) */ +uint32_t fsx_projid;/* project identifier (get/set) */ +uint32_t fsx_cowextsize;/* CoW extsize field value (get/set)*/ +unsigned char fsx_pad[8 ]; +}; +#endif +#ifndef FS_IOC_GETFLAGS # define FS_IOC_GETFLAGS _IOR('f', 1, long)#endif
@@ -26,6 +38,14 @@# define FS_IOC_SETFLAGS _IOW('f', 2, long)#endif +#ifndef FS_IOC_FSGETXATTR +# define FS_IOC_FSGETXATTR _IOR('X', 31, struct fsxattr) +#endif + +#ifndef FS_IOC_FSSETXATTR +# define FS_IOC_FSSETXATTR _IOW('X', 32, struct fsxattr) +#endif +#ifndef FS_COMPR_FL # define FS_COMPR_FL 0x00000004/* Compress file */ #endif
Signature · 5 lines
2.50.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v6 3/7 fs: add file_setattr/file_getattr fallback definitions
In reply to Andrea CervesatoFrom: Andrea Cervesato <[email protected]>
--- configure.ac | 3 +++ include/lapi/fs.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+)
configure.ac +3 -0
@@ -112,6 +112,8 @@ AC_CHECK_FUNCS_ONCE([ \ execveat \ faccessat2 \ fallocate \ + file_getattr \ + file_setattr \ fsconfig \ fsmount \ fsopen \
@@ -264,6 +266,7 @@ AC_CHECK_TYPES([struct mnt_id_req],,,[#include <sys/mount.h>]) AC_CHECK_TYPES([struct statmount],,,[#include <sys/mount.h>]) AC_CHECK_TYPES([struct pidfd_info],,,[#include <sys/pidfd.h>]) +AC_CHECK_TYPES([struct file_attr],,,[#include <linux/fs.h>]) AC_CHECK_TYPES([struct fsxattr],,,[#include <linux/fs.h>])
include/lapi/fs.h +48 -0
68 lines not on this page · raw message
Signature · 5 lines
2.50.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v6 4/7 Add file_attr01 test
In reply to Andrea CervesatoFrom: Andrea Cervesato <[email protected]>
Verify that file_getattr and file_setattr syscalls are raising the correct errors according to the invalid input arguments. In particular:
- EBADFD: Invalid file descriptor.
- ENOENT: File doesn't exist
- EFAULT: File name is NULL
- EFAULT: File attributes is NULL
- EINVAL: File attributes size is zero
- E2BIG: File attributes size is too big
- EINVAL: Invalid AT flags
--- runtest/syscalls | 2 + testcases/kernel/syscalls/file_attr/.gitignore | 1 + testcases/kernel/syscalls/file_attr/Makefile | 8 + testcases/kernel/syscalls/file_attr/file_attr01.c | 178 ++++++++++++++++++++++ 4 files changed, 189 insertions(+)
runtest/syscalls +2 -0
@@ -246,6 +246,8 @@ fallocate06 fallocate06 fsetxattr01 fsetxattr01 fsetxattr02 fsetxattr02 +file_attr01 file_attr01 + #posix_fadvise test cases posix_fadvise01 posix_fadvise01 posix_fadvise01_64 posix_fadvise01_64
testcases/kernel/syscalls/file_attr/.gitignore new file +1 -0
@@ -0,0 +1 @@ +file_attr01
testcases/kernel/syscalls/file_attr/Makefile new file +8 -0
@@ -0,0 +1,8 @@ +# Copyright (c) 2025 - Linaro Limited. All rights reserved. +# SPDX-License-Identifier: GPL-2.0-or-later + +top_srcdir ?= ../../../.. + +include $(top_srcdir)/include/mk/testcases.mk + +include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/syscalls/file_attr/file_attr01.c new file +178 -0
178 lines not on this page · raw message
Signature · 5 lines
2.50.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v6 5/7 Add file_attr02 test
In reply to Andrea CervesatoFrom: Andrea Cervesato <[email protected]>
Verify that file_getattr is correctly reading filesystems additional attributes. We are running test on XFS only, since it's the only filesystem currently implementing the features we need.
--- runtest/syscalls | 1 + testcases/kernel/syscalls/file_attr/.gitignore | 1 + testcases/kernel/syscalls/file_attr/file_attr02.c | 92 +++++++++++++++++++++++ 3 files changed, 94 insertions(+)
runtest/syscalls +1 -0
@@ -247,6 +247,7 @@ fsetxattr01 fsetxattr01 fsetxattr02 fsetxattr02 file_attr01 file_attr01 +file_attr02 file_attr02 #posix_fadvise test cases posix_fadvise01 posix_fadvise01
testcases/kernel/syscalls/file_attr/.gitignore +1 -0
@@ -1 +1,2 @@ file_attr01 +file_attr02
testcases/kernel/syscalls/file_attr/file_attr02.c new file +92 -0
92 lines not on this page · raw message
Signature · 5 lines
2.50.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Re: [LTP] [PATCH v6 5/7] Add file_attr02 test
Hi,
I've done pre-release testing and found two issues in this test.
Quoted 75 lines · Andrea Cervesato
From: Andrea Cervesato <[email protected]>
Verify that
file_getattris correctly reading filesystems additional attributes. We are running test on XFS only, since it's the only filesystem currently implementing the features we need.Reviewed-by Cyril Hrubis <[email protected]>Signed-off-by Andrea Cervesato <[email protected]>--- runtest/syscalls | 1 + testcases/kernel/syscalls/file_attr/.gitignore | 1 + testcases/kernel/syscalls/file_attr/file_attr02.c | 92 +++++++++++++++++++++++ 3 files changed, 94 insertions(+)runtest/syscalls +1
-0@@ -247,6 +247,7 @@ fsetxattr01 fsetxattr01 fsetxattr02 fsetxattr02 file_attr01 file_attr01 +file_attr02 file_attr02 #posix_fadvise test cases posix_fadvise01 posix_fadvise01testcases/kernel/syscalls/file_attr/.gitignore +1
-0@@ -1 +1,2 @@ file_attr01 +file_attr02testcases/kernel/syscalls/file_attr/file_attr02.c new file +36
-0@@ -0,0 +1,92 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* +* Copyright (C) 2025 SUSE LLC Andrea Cervesato <[email protected]> +*/ + +/*\ +* Verify that `file_getattr` is correctly reading filesystems additional +* attributes. We are running test on XFS only, since it's the only filesystem +* currently implementing the features we need. +*/ + +#include "tst_test.h" +#include "lapi/fs.h" + +#define MNTPOINT "mntpoint" +#define FILENAME "ltp_file" +#define BLOCKS 1024 +#define PROJID 16 + +static int fd =-1 ; +static int dfd =-1 ; +static struct fsxattr xattr; +static struct file_attr *attr; + +static void run (void ) +{ +memset (attr,0 ,sizeof (*attr)); + +TST_EXP_PASS (file_getattr ( + dfd,FILENAME , + attr,FILE_ATTR_SIZE_LATEST , +0 )); + +TST_EXP_EQ_LI (attr->fa_xflags, xattr.fsx_xflags); +TST_EXP_EQ_LI (attr->fa_extsize, xattr.fsx_extsize); +TST_EXP_EQ_LI (attr->fa_cowextsize, xattr.fsx_cowextsize);
testcases/kernel/syscalls/file_attr/file_attr02.c line 46
Quoted 10 lines
testcases/kernel/syscalls/file_attr/file_attr02.c new file +10
-0+TST_EXP_EQ_LI (attr->fa_nextents, xattr.fsx_nextents); +TST_EXP_EQ_LI (attr->fa_projid,PROJID ); +TST_EXP_EQ_LI (attr->fa_projid, xattr.fsx_projid); +} + +static void setup (void ) +{ +int block_size; + + block_size =tst_dev_block_size (MNTPOINT );
This is the wrong blocksize. You don't want the physical blocksize from the underlying block device. You want the filesystem blocksize reported by stat(MNTPOINT).
Quoted 33 lines
testcases/kernel/syscalls/file_attr/file_attr02.c new file +33
-0+ + dfd =SAFE_OPEN (MNTPOINT ,O_RDONLY ); + fd =SAFE_CREAT (MNTPOINT "/" FILENAME ,0777 ); + +SAFE_IOCTL (fd,FS_IOC_FSGETXATTR , &xattr); + + xattr.fsx_xflags |=FS_XFLAG_EXTSIZE ; + xattr.fsx_xflags |=FS_XFLAG_COWEXTSIZE ; + xattr.fsx_extsize =BLOCKS * block_size; + xattr.fsx_cowextsize =BLOCKS * block_size; + xattr.fsx_projid =PROJID ; + +SAFE_IOCTL (fd,FS_IOC_FSSETXATTR , &xattr); + +/* this will force at least one extent to be allocated */ +SAFE_WRITE (SAFE_WRITE_ALL , fd,"a" ,1 ); + +SAFE_IOCTL (fd,FS_IOC_FSGETXATTR , &xattr); +SAFE_CLOSE (fd); +} + +static void cleanup (void ) +{ +if (fd !=-1 ) +SAFE_CLOSE (fd); + +if (dfd !=-1 ) +SAFE_CLOSE (dfd); +} + +static struct tst_test test = { + .test_all = run, + .setup = setup,
testcases/kernel/syscalls/file_attr/file_attr02.c line 89
Quoted 10 lines
testcases/kernel/syscalls/file_attr/file_attr02.c new file +10
-0+ .cleanup = cleanup, + .mntpoint = MNTPOINT, + .needs_root = 1, + .mount_device = 1, + .filesystems = (struct tst_fs []) { + {.type ="xfs" }, + {} + }, + .bufs = (struct tst_buffers []) { + {&attr, .size =sizeof (struct file_attr )},
You also need to enable reflink support with -m reflink=1 mkfs option, otherwise setting fsx_cowextsize in setup() will fail on older systems.
Quoted 4 lines
testcases/kernel/syscalls/file_attr/file_attr02.c new file +3
-0+ {} + } +};
Signature · 10 lines
Martin Doucha [email protected] SW Quality Engineer SUSE LINUX, s.r.o. CORSO IIa Krizikova 148/34 186 00 Prague 8 Czech Republic -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v6 6/7 Add file_attr03 test
In reply to Andrea CervesatoFrom: Andrea Cervesato <[email protected]>
Verify that file_setattr is correctly setting filesystems additional attributes. We are running test on XFS only, since it's the only filesystem currently implementing the features we need.
--- runtest/syscalls | 1 + testcases/kernel/syscalls/file_attr/.gitignore | 1 + testcases/kernel/syscalls/file_attr/file_attr03.c | 76 +++++++++++++++++++++++ 3 files changed, 78 insertions(+)
runtest/syscalls +1 -0
@@ -248,6 +248,7 @@ fsetxattr02 fsetxattr02 file_attr01 file_attr01 file_attr02 file_attr02 +file_attr03 file_attr03 #posix_fadvise test cases posix_fadvise01 posix_fadvise01
testcases/kernel/syscalls/file_attr/.gitignore +1 -0
@@ -1,2 +1,3 @@ file_attr01 file_attr02 +file_attr03
testcases/kernel/syscalls/file_attr/file_attr03.c new file +76 -0
76 lines not on this page · raw message
Signature · 5 lines
2.50.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v6 7/7 Add file_attr04 test
In reply to Andrea CervesatoFrom: Andrea Cervesato <[email protected]>
Verify that file_getattr and file_setattr are correctly raising an error when the wrong file descriptors types are passed to them.
--- runtest/syscalls | 1 + testcases/kernel/syscalls/file_attr/.gitignore | 1 + testcases/kernel/syscalls/file_attr/file_attr04.c | 62 +++++++++++++++++++++++ 3 files changed, 64 insertions(+)
runtest/syscalls +1 -0
@@ -249,6 +249,7 @@ fsetxattr02 fsetxattr02 file_attr01 file_attr01 file_attr02 file_attr02 file_attr03 file_attr03 +file_attr04 file_attr04 #posix_fadvise test cases posix_fadvise01 posix_fadvise01
testcases/kernel/syscalls/file_attr/.gitignore +1 -0
@@ -1,3 +1,4 @@ file_attr01 file_attr02 file_attr03 +file_attr04
testcases/kernel/syscalls/file_attr/file_attr04.c new file +62 -0
62 lines not on this page · raw message
Signature · 5 lines
2.50.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Andrea Cervesato via ltp
AppliedMerged, thanks for the review.
- Andrea
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp