Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1951983imu; Sat, 22 Dec 2018 08:51:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ZcHwu5DEV1D+abVZBs4WpCU/zkAKtWLNS4BDNjGJQcPSMb6ivBE60+AeywT9mGdRVJLgX X-Received: by 2002:a63:6704:: with SMTP id b4mr6723436pgc.100.1545497474088; Sat, 22 Dec 2018 08:51:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545497474; cv=none; d=google.com; s=arc-20160816; b=x+ZdvjZIkEM8Y1leyNvhrvQ5QvlyJNyN9Y6GkY+yKtXOCbNN1VwOgt3Rx1Zw187zaK cj9FmDjFmhNmCrsNmmH+AcM7g/c+1QG6r7gAlnFhmgnG+CYLchh4QSIMO/CMrhk1UY3V HTMSdhb6R51ryTYDxQep/Nb0r8sRO+kZbLsj4gDJ5VU34RYXAbcYd4uAH7vTEh7N3uj6 19A5VUaTnBOLYioloAxR2x9D80pnomTek259Hk6TyK8sg1pfTqqHI4Z/Xz5i6k0RR2us pDNVHn1A5MOsbt2+ig4+chvm+2n6Gr/zE1uldNJA1XB9b4a1ZWHUG1jBq4SyJ45Gibn1 u8xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=D0RjM9/iwMSta+Willu6DxevpYiBa8OzRWFNqllHgEo=; b=vPhKvWJ7HUDVWSpFr9/bs1FpJiGa6/4v9MDRGrlWgK9Fn2ZJUT01c1dlwxfYITgptO 7mn5+iX4aK/ige6AuHembADvwWnYvJdH0Oo6zru0SLYruNqVIqEtFhy5Urcyi4hnOnF3 7vughTbAF8aJaSCORolbyNFKkz+ERrtKXpVEklLE9cMZrzOyIOU38ySq48LZnBEhzoUv QAvBJtrLx8EIyYImlKGJkAd8ONPeUqK/THPyHHWyiQ1DE9g2F8G4FGlJSVwteRMB/xms cl8FCUqKFjfersCt5Jc+MMQhJXbhCEl+gA4qwbgB2QM2MicaQ0MXAwT1AdW4UwSHb492 XBPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4si4487201pgl.16.2018.12.22.08.50.58; Sat, 22 Dec 2018 08:51:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388978AbeLUQ2c (ORCPT + 99 others); Fri, 21 Dec 2018 11:28:32 -0500 Received: from dmz-mailsec-scanner-6.mit.edu ([18.7.68.35]:55450 "EHLO dmz-mailsec-scanner-6.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731121AbeLUQ2b (ORCPT ); Fri, 21 Dec 2018 11:28:31 -0500 X-AuditID: 12074423-8c3ff700000053bc-94-5c1d14aa08b6 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 92.5D.21436.BA41D1C5; Fri, 21 Dec 2018 11:28:28 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) by mailhub-auth-4.mit.edu (8.14.7/8.9.2) with ESMTP id wBLGSOZ8023106; Fri, 21 Dec 2018 11:28:25 -0500 Received: from callcc.thunk.org (251.sub-174-192-22.myvzw.com [174.192.22.251]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id wBLGSFoJ012525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Dec 2018 11:28:19 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 4458F7A45FA; Fri, 21 Dec 2018 11:28:13 -0500 (EST) Date: Fri, 21 Dec 2018 11:28:13 -0500 From: "Theodore Y. Ts'o" To: Matthew Wilcox Cc: Christoph Hellwig , Dave Chinner , "Darrick J. Wong" , Eric Biggers , linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, Jaegeuk Kim , Victor Hsieh , Chandan Rajendra , Linus Torvalds Subject: Re: [PATCH v2 01/12] fs-verity: add a documentation file Message-ID: <20181221162813.GB26547@mit.edu> Mail-Followup-To: "Theodore Y. Ts'o" , Matthew Wilcox , Christoph Hellwig , Dave Chinner , "Darrick J. Wong" , Eric Biggers , linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, Jaegeuk Kim , Victor Hsieh , Chandan Rajendra , Linus Torvalds References: <20181219071420.GC2628@infradead.org> <20181219021953.GD31274@dastard> <20181219193005.GB6889@mit.edu> <20181219213552.GO6311@dastard> <20181220220158.GC2360@mit.edu> <20181221070447.GA21687@infradead.org> <20181221154714.GA26547@mit.edu> <20181221155354.GC10600@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181221155354.GC10600@bombadil.infradead.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Brightmail-Tracker: H4sIAAAAAAA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.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 21, 2018 at 07:53:54AM -0800, Matthew Wilcox wrote: > In contrast to "we'll just fix it up later" (which usually applies > to in-kernel interfaces), we have a policy of not breaking userspace, > so accepting this interface means setting it in stone. We should get > it right. I'm not convinced it's a "fix", but my point is that if later on you want to add extra complexity transforming ioctl(fd, FS_IOC_ENABLE_VERITY); so it does the equivalent of ioctl(fd, FS_IOC_ENABLE_VERITY_NOW_WITH_EXTRA_USELESS_COMPLEXITY, fd, sizeof_data, sizeof_verity_data); it adds essentially no complexity to provide this backwards compatibility. But if we need to implement FS_IOC_ENABLE_VERITY_NOW_WITH_EXTRA_USELESS_COMPLEXITY *now*, we gain nothing, other than pushing back when fsverity lands upstream. We'd have to provide that backwards compatibility interface anyway, since there are a lot of users for that existing interface. So why? - Ted