[LTP] [PATCH v3] syscalls/file_attr01: Dynamically expect EOPNOTSUPP on tmpfs without xattr

Andrea Cervesato andrea.cervesato@suse.com
Tue May 19 17:29:08 CEST 2026


Hi Wake,

> Changes in v3:
> - Moved tst_kconfig_check() to setup() to avoid parsing the kernel
>   config in each iteration of run(), as suggested by Cyril Hrubis.
> 
> Changes in v2:
> - Replaced the TST_EXP_FAIL_ARR approach with a dynamic check in run().
> - Included tst_kconfig.h and used tst_kconfig_check() to verify
>   CONFIG_TMPFS_XATTR status.
> - Expected EOPNOTSUPP only on tmpfs when xattr support is missing,
>   otherwise default to EFAULT.

Please place all Changes information after `---` placeholder,
we don't want to have versions history inside commit message.

I can remove it before submitting this patch.

Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>

Kind Regards,
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list