[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fcd869bc-50c8-8e31-73d4-3eb4034ff116@gmail.com>
Date: Mon, 17 May 2021 08:45:22 -0600
From: David Ahern <dsahern@...il.com>
To: Heiko Thiery <heiko.thiery@...il.com>, netdev@...r.kernel.org
Cc: petr.vorel@...il.com, linux-kernel@...r.kernel.org,
stephen@...workplumber.org, Dmitry Yakunin <zeil@...dex-team.ru>
Subject: Re: [PATCH iproute2-next v3] lib/fs: fix issue when
{name,open}_to_handle_at() is not implemented
On 5/8/21 12:49 AM, Heiko Thiery wrote:
> With commit d5e6ee0dac64 the usage of functions name_to_handle_at() and
> open_by_handle_at() are introduced. But these function are not available
> e.g. in uclibc-ng < 1.0.35. To have a backward compatibility check for the
> availability in the configure script and in case of absence do a direct
> syscall.
>
> Fixes: d5e6ee0dac64 ("ss: introduce cgroup2 cache and helper functions")
> Cc: Dmitry Yakunin <zeil@...dex-team.ru>
> Cc: Petr Vorel <petr.vorel@...il.com>
> Signed-off-by: Heiko Thiery <heiko.thiery@...il.com>
> ---
> v3:
> - use correct syscall number (thanks to Petr Vorel)
> - add #include <sys/syscall.h> (thanks to Petr Vorel)
> - remove bogus parameters (thanks to Petr Vorel)
> - fix #ifdef (thanks to Petr Vorel)
> - added Fixes tag (thanks to David Ahern)
> - build test with buildroot 2020.08.3 using uclibc 1.0.34
>
> v2:
> - small correction to subject
> - removed IP_CONFIG_HANDLE_AT:=y option since it is not required
> - fix indentation in check function
> - removed empty lines (thanks to Petr Vorel)
> - add #define _GNU_SOURCE in check (thanks to Petr Vorel)
> - check only for name_to_handle_at (thanks to Petr Vorel)
>
> configure | 28 ++++++++++++++++++++++++++++
> lib/fs.c | 25 +++++++++++++++++++++++++
> 2 files changed, 53 insertions(+)
>
applied to iproute2-next.
Powered by blists - more mailing lists