From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 21 Oct 2019 13:29:00 -0700 From: Eric Biggers Message-ID: <20191021202859.GD122863@gmail.com> References: <20191009234555.226282-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191009234555.226282-1-ebiggers@kernel.org> Subject: Re: [f2fs-dev] [PATCH] docs: ioctl-number: document fscrypt ioctl numbers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: linux-fscrypt@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, Jaegeuk Kim , linux-ext4@vger.kernel.org, "Theodore Y . Ts'o" , linux-f2fs-devel@lists.sourceforge.net List-ID: On Wed, Oct 09, 2019 at 04:45:55PM -0700, Eric Biggers wrote: > From: Eric Biggers > > The 'f' ioctls with numbers 19-26 decimal are currently used for fscrypt > (a.k.a. ext4/f2fs/ubifs encryption), and up to 39 decimal is reserved > for future fscrypt use, as per the comment in fs/ext4/ext4.h. So the > reserved range is 13-27 hex. > > Document this in ioctl-number.rst. > > Signed-off-by: Eric Biggers > --- > Documentation/ioctl/ioctl-number.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst > index bef79cd4c6b4d..4ef86433bd677 100644 > --- a/Documentation/ioctl/ioctl-number.rst > +++ b/Documentation/ioctl/ioctl-number.rst > @@ -233,6 +233,7 @@ Code Seq# Include File Comments > 'f' 00-0F fs/ext4/ext4.h conflict! > 'f' 00-0F linux/fs.h conflict! > 'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict! > +'f' 13-27 linux/fscrypt.h > 'f' 81-8F linux/fsverity.h > 'g' 00-0F linux/usb/gadgetfs.h > 'g' 20-2F linux/usb/g_printer.h > -- Applied to fscrypt.git for 5.5. - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FSL_HELO_FAKE,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1637CA9EAF for ; Mon, 21 Oct 2019 20:29:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6A522086D for ; Mon, 21 Oct 2019 20:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571689743; bh=CDmrDmHjELBAUrBY8WbscTUpVT2+8e+2NK3PWI6nzro=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=h93bKdOITy7waSphMTzFxhc639LAr/E40ySkc7nQ1GoXBmiRuZafzi8s9U8NcFi5z sOh4HqwuPCDVesXOghz7IkakZUUJZsGTanURTQ3vr1fD2kuc2S+y6w/wquPrn+I+UO VLLqiHQIdKQDusmsXWD+WzpQOJF5iMT0mAClCXys= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387401AbfJUU3D (ORCPT ); Mon, 21 Oct 2019 16:29:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:40836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729388AbfJUU3D (ORCPT ); Mon, 21 Oct 2019 16:29:03 -0400 Received: from gmail.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 208302067B; Mon, 21 Oct 2019 20:29:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571689742; bh=CDmrDmHjELBAUrBY8WbscTUpVT2+8e+2NK3PWI6nzro=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S5qbRv4LpeWBtE1dFXuPvLGMU43VkUsF413qTJMikb0SUYiAKqsBz8H+B4RxsiHTy K1ecBLlwg21XreJQkSZGAvy327GVxorLtA7PpSuihTbnVPMp+Ke40BFo+vIQtlH4Ir VL3jCpymD+r32LxMYYDdh+LA+19mI3hv9+hkOtOU= Date: Mon, 21 Oct 2019 13:29:00 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: "Theodore Y . Ts'o" , Jaegeuk Kim , linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] docs: ioctl-number: document fscrypt ioctl numbers Message-ID: <20191021202859.GD122863@gmail.com> Mail-Followup-To: linux-fscrypt@vger.kernel.org, "Theodore Y . Ts'o" , Jaegeuk Kim , linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org References: <20191009234555.226282-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <20191009234555.226282-1-ebiggers@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-fscrypt-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fscrypt@vger.kernel.org Message-ID: <20191021202900.Nu_svqyV3gm-qtOS3ZS5BEodh3hjHTTAUJTHltRjGt0@z> On Wed, Oct 09, 2019 at 04:45:55PM -0700, Eric Biggers wrote: > From: Eric Biggers > > The 'f' ioctls with numbers 19-26 decimal are currently used for fscrypt > (a.k.a. ext4/f2fs/ubifs encryption), and up to 39 decimal is reserved > for future fscrypt use, as per the comment in fs/ext4/ext4.h. So the > reserved range is 13-27 hex. > > Document this in ioctl-number.rst. > > Signed-off-by: Eric Biggers > --- > Documentation/ioctl/ioctl-number.rst | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst > index bef79cd4c6b4d..4ef86433bd677 100644 > --- a/Documentation/ioctl/ioctl-number.rst > +++ b/Documentation/ioctl/ioctl-number.rst > @@ -233,6 +233,7 @@ Code Seq# Include File Comments > 'f' 00-0F fs/ext4/ext4.h conflict! > 'f' 00-0F linux/fs.h conflict! > 'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict! > +'f' 13-27 linux/fscrypt.h > 'f' 81-8F linux/fsverity.h > 'g' 00-0F linux/usb/gadgetfs.h > 'g' 20-2F linux/usb/g_printer.h > -- Applied to fscrypt.git for 5.5. - Eric