Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp786121pxj; Tue, 18 May 2021 14:12:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0/ndgNyiVH/T1DWx6bYZ4kC0nr1Iv+tBt0x4XmxSW2E9zhlho0k8t8remGBQAp9YvwKrQ X-Received: by 2002:aa7:c7d3:: with SMTP id o19mr9249851eds.142.1621372347128; Tue, 18 May 2021 14:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621372347; cv=none; d=google.com; s=arc-20160816; b=bjqtYjQOF6i4/yjrEa4P+jxmK0RgwnQP5U3cEkq6ujnfGHxd1TQO3zErV5c5ABblCi OeBp6esEEDqNpwfLqJxy1xqO5f1qPj2WOm2FyR1Y0lbX8NmMf+R7mzOBIhbhuDoE6Kbu hmVfQBBcp9feisTzTGbjedltsE5/iCJSqyP720iGIpsh5xbW4RoPdV6dT2+Z9IlZa9Ul FAVeFaLJKh7aoYD/07i7AfYDph0RJtf+kEXDY8G5Z5UritePliKEilV5ne9RqyHnVPgz Odp8LS7PP8Zom27Z5OumkDaq1wL7WP1VTBLbiZifEdTs5ht/E2TkCh42GArajNkU6Tac 4Q4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7XsYTUx1bd2TMLBzGLJMdAv8774GZAoLJjC4TPLuaiE=; b=ZwwmCw17jUrgPlEE8XsTwZ2+zmvGxk98nXtNUHxPe6BOwAhAnbK1sjWRbTV7HMILqk P85QiTu14WmE7UgvqY/qJgTyPsRkzZgI3sug0g5wwot4DmlihAUOCwvvj81lhzWCm8AO L1Hi28JU6IrvAdPvy3hcC27+bIO6gbnPNB2TcXmCyaCnXxZk+g0g0uHTBzW2H2gf3emU flCBTpRYBFiegp8EsNXTdMz6q8kxOll9S5NBZ5dcXA97Uk6NojLDEbT/j/h6Yn7HDQMk lxbGTJjm9bMh31b3k18+989xco5KHgI/yG8WB30Nyoc3j04dbz+iLtBmOyhjLnjoeg1H br8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hAI95AmE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si10111631edo.12.2021.05.18.14.12.03; Tue, 18 May 2021 14:12:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hAI95AmE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236259AbhEQRiH (ORCPT + 99 others); Mon, 17 May 2021 13:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbhEQRiH (ORCPT ); Mon, 17 May 2021 13:38:07 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19A01C061573; Mon, 17 May 2021 10:36:50 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id d11so7283560wrw.8; Mon, 17 May 2021 10:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to; bh=7XsYTUx1bd2TMLBzGLJMdAv8774GZAoLJjC4TPLuaiE=; b=hAI95AmEoPquzZm0RQNsHAvyYi3ps+FRa0T3uqSpNIyEqe30W6NP6MUWGtv6dd9tGO OVCfSkcdPwj9hMt7mIsTvql6WvP5FFWk6j5N3hAPqv2yaDWyORNFp6rThhOXHrUQQ8TA S+B+UvMefGprWPt4BxvUH39jRz9TLJCQbhAo/CXu5k2qN8KNEP67/ClzVwzpXzRbMk3n HEMap4DjS0ua8MYXSYzodqiBNgZTbgViS9yllUTCJiqy3w4kl04HohSQUlf+YcvfGoFV tKmCK8u4hlVhfFrk4OomxLtnWgjgFTiD42JlYNhKM0GC4gZljsCoUBrCm2j7t/q0D2/+ Hyfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to; bh=7XsYTUx1bd2TMLBzGLJMdAv8774GZAoLJjC4TPLuaiE=; b=jFeqiR2YkTrantVReGCcrLjI8E+B8GBu4B7yYbHMsr4ZM5E+LLt2hHFKRegR2CPkLl jpIwBA00QIdjuMzB7uSybNXeTmnSRZtcks+qXcCkAVH52sLYf5UJFizgPoShtLlbdAHd h/h1u5zgO5xmd2xUYctl6dDBodH3NuCHTxb8dXrlgRfqcKq9fOtREl12fQEMVcDYLSie f0qOTNfVlB15L6UYGiOljuPFM/kt5XiycrTdyTPiTaSs4fK271gfhiY7cA+DISu0eHPB P1Kkl9BGV1y5sBXMU19p4dhYXPO1mA3QKLjYQF4zqf2onGQ8cDDWiJBnDDOVeEjitvL6 IAnQ== X-Gm-Message-State: AOAM531AyztHtKqPPnEB2nnTa7LrUoSuIl4lQPMGc7tQEZ6rR37T4dyf 2VvUq5h3GEc56cRoWxf6ar0= X-Received: by 2002:a5d:4b10:: with SMTP id v16mr922886wrq.259.1621273008861; Mon, 17 May 2021 10:36:48 -0700 (PDT) Received: from pevik ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id g4sm15010689wmk.45.2021.05.17.10.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 10:36:48 -0700 (PDT) Date: Mon, 17 May 2021 19:36:46 +0200 From: Petr Vorel To: David Ahern Cc: Heiko Thiery , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stephen@networkplumber.org, Dmitry Yakunin Subject: Re: [PATCH iproute2-next v3] lib/fs: fix issue when {name,open}_to_handle_at() is not implemented Message-ID: Reply-To: Petr Vorel References: <20210508064925.8045-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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 > > Cc: Petr Vorel > > Signed-off-by: Heiko Thiery > > --- > > v3: > > - use correct syscall number (thanks to Petr Vorel) > > - add #include (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. Thanks a lot! I guess, it'll be merged to regular iproute2 in next merge window (for 5.14). Kind regards, Petr