Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3574135imw; Mon, 18 Jul 2022 10:28:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tFCh72tPYg3mtgEOUt0INBajwtppZpIHgnL8vm6DR5+74YM7Yc3xFoZSgSeC2iXDIkD+BC X-Received: by 2002:a05:6402:54:b0:43b:5cbd:d5db with SMTP id f20-20020a056402005400b0043b5cbdd5dbmr12002817edu.264.1658165321856; Mon, 18 Jul 2022 10:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658165321; cv=none; d=google.com; s=arc-20160816; b=kmYGMxfmDGcgE8Ssw+vYd7jx0VscZF6P5OzTUHqCDBVbqWrBaPbm6llfGP1w846IQ9 XJNmmKhNnnOkOtm4vmIbDaRfMtiggjgJJlUWCqb9dnCEPgrwU1zQgeHHqkW6WB7wfUD+ BahBN9ZpJXtthlJHaEJIehdquHSbmQ0ugwgvKQmAutp7s5PdxmkEOAFFf6fl3t4BovGS avvFGu4qCJW1xFpTUntwNspIclFvMy/pKTIrQ3IDA+OD9OSRC7X/OMKG6VwglncLCv0a HiHRrs2Co0XAiBw/3yn/LanXABW4Ncpc+sWOfb2CZEMVXjTtZ/cf9+WI6l0CXfC0pDh4 61eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MAzbnCgjnmjGdJLTmbDYeaZT5j7tzpua2sYTo2S3JIs=; b=wI0mrKpOQy8UNMou4eDQiyhpsp/y1yPMOlJDme8gGeuwCKsOLZGdftu53xYeIM+NC5 PNDdwJlhaAFchdP/tLKMOQRln8Pr+kfeW1MWHvxFaEX4ntFwzlADb/X8xP1LYpSFcCX+ 6gBp3qRPX2Mpng3EMOWogS+s7OYCQ5l1VoqrTNgvTbUFKmM9kVahR97Z8cpewEAJ+V6i 7XBmEIj57Eune9ggYcwJlK5stiuLn32Of+mlnybS46QBIvXInwqaiwzxbcutajZwRvyw 56bT2eZb0LtZq/CntWRO+OR7Ik61hooTx0fVFTQvFbROHqyQgTAjqMmCpwRq7RLXNYWp rh2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=ghvlzDLF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a170906490b00b00711d868d144si15190735ejq.976.2022.07.18.10.28.14; Mon, 18 Jul 2022 10:28:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=ghvlzDLF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234195AbiGRRXe (ORCPT + 99 others); Mon, 18 Jul 2022 13:23:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233720AbiGRRX0 (ORCPT ); Mon, 18 Jul 2022 13:23:26 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9126D22504 for ; Mon, 18 Jul 2022 10:23:23 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id r6so16269376edd.7 for ; Mon, 18 Jul 2022 10:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MAzbnCgjnmjGdJLTmbDYeaZT5j7tzpua2sYTo2S3JIs=; b=ghvlzDLFD/7thDNRuiKzgDe/7LH9RUzr2nJ4LWTn7/fxiCEt+xIAlCvSCnhQilCyR+ iaIF9BHdU2G+XCFE3ZtO2ZLrJjcxSDrPfpCBzb0HhI1aDacoXi9ft7Lxe1PlQGrOzFgU O3yIzBIWLmEwOsOqBQnDx6yvr4Xzzid/3/jYg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MAzbnCgjnmjGdJLTmbDYeaZT5j7tzpua2sYTo2S3JIs=; b=rrmNDFB+wbo2T9fkwxcm700ytD8ioFqC7BBVgidlno+305S4YhbC2jESzh8W6ysXrq 2SoO8et2sT0V9CtH6c9hPiY5la+4X6QElX8Hc2CB8iEJVb+T84Q22tKJDKzx9tkcIJ4Z 4Y+fdOQ9NROJ9R3WuvDeF/+xhPspyg0F3Ft4jV7CjBaKyEjC15+U8WpIHVvyLBLbU2HZ tRJDRLVXDCh51paljVoUk+2J9yLdA0+fmEA7fB28MOMO/6C4ZnMRoDjwsrs0bGl4f6YC nVjad4MojkBv+zpJyQZ4qSvz4MZCpqzKa6p6OCknlqudZ1yn/SJuRrsqrFyVXn2O3E+l vkgg== X-Gm-Message-State: AJIora+Ab6XRvcZNoZVyYRlWeFUF49qHP5mYdGKqn0LcggVGkuIqsVIc D/qCdse+3WnJf+qsQyx8MGGiy4xU7+5OlLhtHmcEpx0fA+VvoE+0 X-Received: by 2002:a05:6402:2b8d:b0:43a:5410:a9fc with SMTP id fj13-20020a0564022b8d00b0043a5410a9fcmr39033797edb.99.1658165002192; Mon, 18 Jul 2022 10:23:22 -0700 (PDT) MIME-Version: 1.0 References: <4B9D76D5-C794-4A49-A76F-3D4C10385EE0@kohlschutter.com> <83A29F9C-1A91-4753-953A-0C98E8A9832C@kohlschutter.com> <0B8DA307-7E1F-4534-B864-BC2632740C89@kohlschutter.com> In-Reply-To: <0B8DA307-7E1F-4534-B864-BC2632740C89@kohlschutter.com> From: Miklos Szeredi Date: Mon, 18 Jul 2022 19:23:11 +0200 Message-ID: Subject: Re: [PATCH] [REGRESSION] ovl: Handle ENOSYS when fileattr support is missing in lower/upper fs To: =?UTF-8?Q?Christian_Kohlsch=C3=BCtter?= Cc: Linus Torvalds , overlayfs , linux-kernel , linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Jul 2022 at 16:25, Christian Kohlsch=C3=BCtter wrote: > > > Am 18.07.2022 um 15:13 schrieb Miklos Szeredi : > > Correct. The question is whether any application would break in this > > case. I think not, but you are free to prove otherwise. > > > > Thanks, > > Miklos > > I'm not going to do that since I expect any answer I give would not chang= e your position here. All I know is there is a non-zero chance such program= s exist. If you (or anyone) gave a real life example of an application relying on e.g. ioctl(..., FS_IOC_SETFLAGS) returning ENOSYS, then I would have no choice but to revert this change. However I think that's highly unlikely given that such an application would only have been tested on fuse filesystems and also given that very few (if any) fuse filesystems support these ioctls in the first place. Thanks, Miklos