[LTP] [PATCH v2 1/3] Remove m4/ltp-signalfd.m4

Avinesh Kumar akumar@suse.de
Fri Aug 8 15:56:41 CEST 2025


On Friday, August 8, 2025 1:01:00 PM CEST Petr Vorel wrote:
> HAVE_STRUCT_SIGNALFD_SIGINFO_SSI_SIGNO autotols check was used only in
s/autotols/autotools

Reviewed-by: Avinesh Kumar <akumar@suse.de>
for all patches in this series.

Thanks,
Avinesh

> testcases/kernel/syscalls/signalfd/signalfd01.c before it got rewritten
> to the new API in a569202b6e.
> 
> Fixes: a569202b6e ("signalfd01: Refactor old case with new API")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  configure.ac       |  1 -
>  m4/ltp-signalfd.m4 | 17 -----------------
>  2 files changed, 18 deletions(-)
>  delete mode 100644 m4/ltp-signalfd.m4
> 
> diff --git a/configure.ac b/configure.ac
> index db41175bf2..5362aaf1bc 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -414,7 +414,6 @@ fi
>  AC_DEFINE_UNQUOTED(NUMA_ERROR_MSG, ["$numa_error_msg"], [Error message when no NUMA support])
>  
>  
> -LTP_CHECK_SYSCALL_SIGNALFD
>  LTP_CHECK_SYSCALL_UTIMENSAT
>  LTP_CHECK_TASKSTATS
>  test "x$with_tirpc" = xyes && LTP_CHECK_TIRPC
> diff --git a/m4/ltp-signalfd.m4 b/m4/ltp-signalfd.m4
> deleted file mode 100644
> index 5aac395bd7..0000000000
> --- a/m4/ltp-signalfd.m4
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -dnl SPDX-License-Identifier: GPL-2.0-or-later
> -dnl Copyright (c) Red Hat Inc., 2008
> -dnl Copyright (c) 2019 Fujitsu Ltd.
> -dnl Author: Masatake YAMATO <yamato@redhat.com>
> -
> -AC_DEFUN([LTP_CHECK_SYSCALL_SIGNALFD],[
> -
> -AC_CHECK_FUNCS(signalfd,,)
> -AC_CHECK_HEADERS([sys/signalfd.h],,)
> -AC_CHECK_HEADERS([linux/signalfd.h],,)
> -AC_CHECK_MEMBERS([struct signalfd_siginfo.ssi_signo],,,[
> -#if defined HAVE_SYS_SIGNALFD_H
> -#include <sys/signalfd.h>
> -#elif defined HAVE_LINUX_SIGNALFD_H
> -#include <linux/signalfd.h>
> -#endif])
> -])
> 






More information about the ltp mailing list