Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2319633rdb; Mon, 20 Nov 2023 07:59:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4b5YWo/Cobx5sjXj+RUn+Sgo9LOHXakap0k396hhlosRhMcjTNahJsnJ7Nh+AP8Re72ec X-Received: by 2002:a17:903:41c3:b0:1ca:a290:4c0c with SMTP id u3-20020a17090341c300b001caa2904c0cmr6651189ple.16.1700495959363; Mon, 20 Nov 2023 07:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700495959; cv=none; d=google.com; s=arc-20160816; b=r74eL+RXYv9SZKM1eL7XXDG6NkqNHNyDbSRDX08uC4YcPaDPcJq+eLML1oWrN2EAmp f8S0yS4kDZ7/gBQY/5lUtt46kDA488rJUQgnlj9UaQNU3s/LCbD2QVJbt9lfN+55p3sy 8iDHD7+x8orSGQZwnvIsJs6n4exzIi8AJOvdltYY0S6A2+brscVBxWnhe/egaOcTWXhb h8r5FKV8RaWIS4KRGLsAIXbNB99R9lLbVF9cA5zcLxiIxNDsdj6Yh0zQe3ScoxJI3PLy 7BJb6fX+rvI3BL49bZv9dgIuYWKrWbFRO+9uIMcXz8Vrl4XXILPSaYz2ok89tQ6vzh2P BeIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BBubMyXeMdXPmziILbLDJOUb23evjUP9zHHjc1m1UWU=; fh=ZhcomvWN3iXBzC7p6XIUJwMEsaNUt5wemjTrWNYFUdA=; b=VpwR0zkaxWA8CHL50abO0oix3zgCaNA2xArNk9UZUbp/j2WQFRhGl88xbGQ3ajlw8E 0tOQ9WuqbZ/wqntCq6uN4JP4r12q+5uiJBynxWGrips8AGUz98vRKcVjbNUgG+INR5dM G4LipHx+7xSMMI1LyhqO7Hu/3uA0fVjFuy1n1Yxwe361N2pSGcHhIY/hza9PtGJg7AYm 6vS1fxBFH93p5f2FZ+Ni9yUxvKjwNM/mncXpSLgrWKjF9GGrXONR8Hz3ES/p6JZ3AoKj KH04h2NslAT8SaOKls+QEMoAf9Ku4qw4t4Fs+ZRSdmR6KEQ0ieO0tX7u+HOVKzbIlaSC UU3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=kgmA+AVf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id n4-20020a170902f60400b001ca0a487ab2si8992563plg.200.2023.11.20.07.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 07:59:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=kgmA+AVf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DC4D980A7916; Mon, 20 Nov 2023 07:59:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233675AbjKTP7K (ORCPT + 99 others); Mon, 20 Nov 2023 10:59:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233195AbjKTP7J (ORCPT ); Mon, 20 Nov 2023 10:59:09 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0434C100 for ; Mon, 20 Nov 2023 07:59:05 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id ca18e2360f4ac-7a66bf80fa3so34055039f.0 for ; Mon, 20 Nov 2023 07:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1700495944; x=1701100744; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BBubMyXeMdXPmziILbLDJOUb23evjUP9zHHjc1m1UWU=; b=kgmA+AVf1bqHdCcIeq04xHRa7SIKk9mZkp0aX9jE6fjDInfjNh1/bkr4ZQjGRs0Vuf 4WbKUfFUmZyPkW9eoVSTQSKXSBNoEvzfelmquMgjfcr5iIIurskd2j8ZOdrF+CZd/YJJ Nvudq3O7pGhAdLOwDFqOJB9KNEuV9NvBiRR/2MB431cqmVUh1X+mKutocpRWzejItpxJ fhqqF3zCpc53p8zABT0vvsjSmi1WyT5t8n9KN4NLr0zWEGMw7klF1Uba+bZL0+lzV3gd sCes9BBdz54oAMT3xwZJPPRCfAJw0es3VTVVtp0yzGhWLPkQ1qRWWz55ZajBwCg3E34v 9rrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700495944; x=1701100744; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BBubMyXeMdXPmziILbLDJOUb23evjUP9zHHjc1m1UWU=; b=l1iq8FwHN61Qxrr90soKH/aEjoBl2j1c8Xl2Wdc5JcSXN5NlYI84Kzz69xkC2tALPu /hkGmUUH/3fwJlHh8/VQLy3SUdNDTdkBZAP3FdDijP4Joffr4hAXw96sBIx2FN7xVtrB o7ACoNPowmCOERbEr8PI33NuAC4AQ3tBv3/+ZZhepz4UY41Iy4fpIFxo8EWFtuM6nkSL XGbpUjJm/JExWxRTqMfALFheLBJ0k61U+dnbbIviydfB5yJWnTop6u0ndobnRYkYrUBL sXkEnMXUnekqSBmzPToDHkuo2NxbZPFKi43L/7ba/Kj8T+QcVur7z55n6cyxo+dDP7bQ Gl9A== X-Gm-Message-State: AOJu0Yy20b4I7kWk6QU+qMa5Hge+IPRzFWnOBIQ0RZe+ShHedqV8nxqE 5BNgrCjV9mcoQUU74PLKxI3TmA== X-Received: by 2002:a92:dc81:0:b0:35b:cd8:7785 with SMTP id c1-20020a92dc81000000b0035b0cd87785mr997896iln.1.1700495944338; Mon, 20 Nov 2023 07:59:04 -0800 (PST) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id v10-20020a056e0213ca00b003593297c253sm2522408ilj.75.2023.11.20.07.59.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Nov 2023 07:59:03 -0800 (PST) Message-ID: <8818a183-84a3-4460-a8ca-73a366ae6153@kernel.dk> Date: Mon, 20 Nov 2023 08:59:02 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] io_uring/fs: consider link->flags when getting path for LINKAT Content-Language: en-US To: Charles Mirabile , linux-kernel@vger.kernel.org Cc: asml.silence@gmail.com, io-uring@vger.kernel.org, stable@vger.kernel.org References: <20231120105545.1209530-1-cmirabil@redhat.com> From: Jens Axboe In-Reply-To: <20231120105545.1209530-1-cmirabil@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 07:59:17 -0800 (PST) On 11/20/23 3:55 AM, Charles Mirabile wrote: > In order for `AT_EMPTY_PATH` to work as expected, the fact > that the user wants that behavior needs to make it to `getname_flags` > or it will return ENOENT. Looks good - do you have a liburing test case for this too? -- Jens Axboe