[LTP] [PATCH v4 3/4] Delete obsolete strip_syscall.awk file

Li Wang liwang@redhat.com
Tue Oct 15 10:10:45 CEST 2024


On Wed, Oct 9, 2024 at 5:46 PM Andrea Cervesato <andrea.cervesato@suse.de>
wrote:

> From: Andrea Cervesato <andrea.cervesato@suse.com>
>
> Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
>

Reviewed-by: Li Wang <liwang@redhat.com>


> ---
>  include/lapi/syscalls/strip_syscall.awk | 19 -------------------
>  1 file changed, 19 deletions(-)
>
> diff --git a/include/lapi/syscalls/strip_syscall.awk
> b/include/lapi/syscalls/strip_syscall.awk
> deleted file mode 100755
> index e8dff422e..000000000
> --- a/include/lapi/syscalls/strip_syscall.awk
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -#!/usr/bin/awk -f
> -#
> -# Dumb script that can be used to strip all of the syscall information
> from
> -# the arch-respective unistd*.h.
> -#
> -# Examples:
> -#
> -# 1. Grab the i386 32-bit syscalls from unistd_32.h and put them in
> i386.in
> -# strip_syscall.awk arch/x86/include/asm/unistd_32.h > i386.in
> -#
> -
> -/^#define[[:space:]]+__NR_[0-9a-z]+/ {
> -
> -       sub (/#define[[:space:]]+__NR_/, "", $0);
> -       sub (/[[:space:]]*(\/\*.*)/, "", $0);
> -       sub (/[[:space:]]+/, " ", $0);
> -
> -       print
> -}
>
> --
> 2.43.0
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>

-- 
Regards,
Li Wang


More information about the ltp mailing list