Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2351270rdb; Mon, 20 Nov 2023 08:39:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8GeeSt2WG0qhfnNYDe9Be5JXEyPk+IpnBndV+O1XgHKv9vHqr1beHaKkTQrnA+/wllAAq X-Received: by 2002:a17:902:f7d4:b0:1cf:5c9c:a9cf with SMTP id h20-20020a170902f7d400b001cf5c9ca9cfmr2514967plw.44.1700498365402; Mon, 20 Nov 2023 08:39:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700498365; cv=none; d=google.com; s=arc-20160816; b=vVMEKXnMrL3+XS3vex50wDPRhvtLJkQ1MvTsGt+mF05JlS6R+aPzmbxD4qNkTXtwYh jfrm3UZ4BQIyZAbwfFo3VOxLU5YAETEExgwpJI/uy+S97om1Z4Lx6seeO0Czal2yvM/3 Nl6MKrPFT3c2zggVjPwwgkFT2Tt4vHNwU/RzQTsFUOk5l/R1jCM31+OPWJFhaB5SXHMH 7uK6QJVjfw6ctzZI7rkqOtJ506yf0U8f7dxLoacFENRkbVlVdrmkDsduBeFlznWERey3 o2ZOkzYm8cC2RtNpjFe3EtNyBAGsHqHNZ89N7534G8rcs3niqJyyeI8QdF8/60L4wH0E gnZw== 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=r2RQ820cC686EcqNlIVK+j1vz6wK5IexeuwOn8xmLzg=; fh=CuutfvbSW/1KJykWKxQ3qrPhcw84B8lpdtlORc0CAjk=; b=IMs22Dlwm0m2G48SHiHV2iIlMmIq4uN07X/4s4OGu9cRTpytH2wo3LguUX/X7OtLxl HhJdFVjUWfgkwH4jEmnINfa62HIeYdSXgHULz/Us/Zi2ucbn2Hr69olqWSefLdierMla pbk7MFLVryplxbm62a5I/3q8oYEzeE9pXU2uLml0POQPtsEjsIhsJ9jqoTBjc4llfPDS tj7irGN2hxld0fqnQE7Aayhg+kFxJyrNIz8Rs7vkipsY0MPmKY3lIYQfwoPIZ3dG8w7p oPV2qs1p0WBWxgXeohhgg7Fn8t8G0WodOaBSoEYIGxn+edg5OL0i9dgkCZ4AmTMIBEgK ABZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=fqt7mxD7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id e2-20020a170902d38200b001ce0b383c67si8074013pld.612.2023.11.20.08.39.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 08:39:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=fqt7mxD7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 139DE8051A0C; Mon, 20 Nov 2023 08:39:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232014AbjKTQjE (ORCPT + 99 others); Mon, 20 Nov 2023 11:39:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231878AbjKTQjC (ORCPT ); Mon, 20 Nov 2023 11:39:02 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97AB5C5 for ; Mon, 20 Nov 2023 08:38:58 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-35b0b36716fso405865ab.0 for ; Mon, 20 Nov 2023 08:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1700498338; x=1701103138; 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=r2RQ820cC686EcqNlIVK+j1vz6wK5IexeuwOn8xmLzg=; b=fqt7mxD7sUfZ5ocKo7ZLAZKVDRA4J/wcMUpsGctXC8DPB2YIgk/ugl3tWJ2PTlSx6o itmoPiQYA58QwDB7WFE0/t4sApyRKsi9H7EEhKTld+KdrbPtS8xqmQbGdPiLhfZyIdTT ul00q2+qTrj6GvNtPsdNS2bwmlAQSZORo2dDAhO2Ncbao0KRxONxOoHuJp3G+3cW/vSH llLftf/iVn4eoUEgmPLlNDcVS9tSkT790KtgVsB/Yp3vRvUUxEWCKs90A5D7orNDqn8n 0oriOVXGeoz1FoaWrnDUp+G1sud7ib5YcILkp7hYHnBJFN4ucM3wVZ2AhX9rmgGLrmrz 61oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700498338; x=1701103138; 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=r2RQ820cC686EcqNlIVK+j1vz6wK5IexeuwOn8xmLzg=; b=OL4G+44zln9W9ZEx06P6YRiVUyH9I70v5bCIqeMcfg11D9ljsMv7ejIpCcCTbW97RU RJRhMgOjF3vLzWQXQIFbXo6Lhx/NcWsh8G7izA9eiYyyRtqVm2lAJueuaxE1ZzgxvCu2 VXa9OcXbFdfiMImLiFHQcpWWvONLvWeTXjtyP32GwlmC5IwaBnNVw8LAWsxrSwNKwuuK x73qa846LFYqsv2bsPRUH/qb4y18rtNRCIFsf31oI2FP+NH7NsnNuqlbcngP8524cQPM ri5g3yTBcKc3fBeQFb6olDPQHldBoGYYyzqyUfGctNsEoSIoXzgNK9oIS9HHeTM7QcWv JnWg== X-Gm-Message-State: AOJu0Yyv+9b6Ned2RLy94Z5dI0w10zom1pSPsmG36FAQIIVCNXZzlEV2 Z66fj01054GGV/UEeBA+vGQx0w== X-Received: by 2002:a6b:fc0b:0:b0:7b0:7a86:2952 with SMTP id r11-20020a6bfc0b000000b007b07a862952mr7153354ioh.1.1700498337987; Mon, 20 Nov 2023 08:38:57 -0800 (PST) Received: from [192.168.1.116] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id gt17-20020a0566382dd100b00463f7eb97d8sm2086256jab.69.2023.11.20.08.38.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Nov 2023 08:38:57 -0800 (PST) Message-ID: Date: Mon, 20 Nov 2023 09:38:56 -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 Cc: linux-kernel@vger.kernel.org, asml.silence@gmail.com, io-uring@vger.kernel.org, stable@vger.kernel.org References: <20231120105545.1209530-1-cmirabil@redhat.com> <8818a183-84a3-4460-a8ca-73a366ae6153@kernel.dk> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 08:39:17 -0800 (PST) On 11/20/23 9:34 AM, Charles Mirabile wrote: > On Mon, Nov 20, 2023 at 10:59 AM Jens Axboe wrote: >> >> 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? > Yes, see here https://github.com/axboe/liburing/issues/995 and here > https://github.com/axboe/liburing/pull/996. Ah thank you - for some reason github stopped notifying me... -- Jens Axboe