Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1790379rdh; Tue, 26 Sep 2023 03:50:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5h0qfIv1pHOUNpB1CwJl1diJUtw4N254RZoGd4aUSZICZRSHhdq6wvV4P7b+Dbm8owJXZ X-Received: by 2002:a9d:5a17:0:b0:6b9:1917:b2f3 with SMTP id v23-20020a9d5a17000000b006b91917b2f3mr9242956oth.33.1695725419656; Tue, 26 Sep 2023 03:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695725419; cv=none; d=google.com; s=arc-20160816; b=sLdicB7XpFSKySn5bxdumcmt5FgVFRBOjKzQXh5kbw/OTjnavCZJNuwtLjw/EuOf2Q 9pVOpj56R4CMG1sVuhyW09vcrDCft2oBQclzUsxxbm4Y7mJ6O4FEvRjBI13HWc20gis3 +pOg5ELclCSbH70eA4RCU12Nmgqfyt8323wjGCTn0bP+2ZxDN6OX4qXTQRmezijMELMn /f3YPdBEHgPCVyWsi+/DYjO3/O1Pk2d++5myXqyr79IWM+eaGTEm1o6pmWUAhVTZv2H+ D7iecs5dcIS6Z5giksGfsl3g7enDwbqI2sRKxUieW/MZrktaDhaAdAL1Vw6xWJYEXJk5 Dc5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=+vKhvI/Ayw8ZF2UMd/3KHjztbHQPAFx3voTEU49nlf4=; fh=/s7TdnOKe4r9JuYr66aWyTYP4fdlvJ/thmQUw+ZNnZQ=; b=PDOT8q4P6qQV1lZ1PRBi+gXwc73R1Zydqpw5KcnpRVqgtDCcyBYjPEDEzLXXj65BVA W+b3snNLEATxZl3BGfdA6zn91OiGeu21sCQ1qnKMqxl8eU4c753omM1jKhR4H1uAh3SB meI0T8CoMcp/Jxm6RKmDJeZON2lXipIlIWLwbrZyLlhGpa7V/l5Hr54YpoHrxNO0Taxl uL75L3dHwWZaICdnE4/xmYL3lIISUJsHJJa5PyDFa/liquBE/S+yEtGEEynwkOex7eQf fK6nyyaxupu02ZsYdOJbycUhmRZ4Y00BvAdnwA3mdYHldnHsL2L3tEYil9ZirtdgpVXE 7Vgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=WkfjzfyY; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=qhW3cYQz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j191-20020a6380c8000000b00578e153c979si12061067pgd.740.2023.09.26.03.50.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 03:50:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=WkfjzfyY; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=qhW3cYQz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 23DDE825CD3D; Mon, 25 Sep 2023 08:48:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233311AbjIYPsK (ORCPT + 99 others); Mon, 25 Sep 2023 11:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232721AbjIYPrc (ORCPT ); Mon, 25 Sep 2023 11:47:32 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 131E91A7; Mon, 25 Sep 2023 08:47:21 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 750045C1F9F; Mon, 25 Sep 2023 11:47:20 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Mon, 25 Sep 2023 11:47:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1695656840; x=1695743240; bh=+v KhvI/Ayw8ZF2UMd/3KHjztbHQPAFx3voTEU49nlf4=; b=WkfjzfyYFriipTXDab kMvNOuVMtPiVAVxp5nPRHIiz3sc424JdoohsczIhiRYO5u8KboaEnDTSxZCHqqr3 1YbKC3t5TdnBCovjgaRL553v4McpdnCsdq6sa34kS/dIYlEPhRyOgDKXKFW1Zxnu WRI5VM41w83BSEFH4JCsDQbCfD5LqeE9ydf4nAbaehkz79Fgh7x3C2KML72OMuuV JIbtidNR6OmswPAoiFlie2nyo5g/U4Wb7ZRYTx2rx/n5ohbFSO3d15X3wD+QpmrJ PWcFqM0I264rUBA4fLGicgMyiRDCCoz7+Mwa1RKvsnqyKArBJ1lFPpe+S/7y8+dv ReOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695656840; x=1695743240; bh=+vKhvI/Ayw8ZF 2UMd/3KHjztbHQPAFx3voTEU49nlf4=; b=qhW3cYQzCW1SmMCDtbbaOAlLC8MLF uRpPar5Pu7DFJzrZsNsD2GTnINJvmscfADFXTQvL/v9Kf9vv7tp2gmaMkZAq3f/H QojF0lZ2MEjOxto+IGA/EqxAlogl2gaNie22+Ui6nTrd0Lw8PxhIAx1+rqkvv3u/ /MhFTeE8CXWcG6zunhRUJGNcCR72d8ru++yvF8gV2KEfBby2Z5LxrLBs1d+0+ttn /xD3X8rx5t6UE8dlPxOaR5M5j8u6D8rIOAG1zFRkJvbInpMzoe1AnphDE4yTrDPL SicNdoK7VPSGkillo4uyg77GuandCkLZaMz9twEh2AUfUu7WOtycfXe4Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudelgedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6F8A9B60089; Mon, 25 Sep 2023 11:47:19 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-957-ga1ccdb4cff-fm-20230919.001-ga1ccdb4c MIME-Version: 1.0 Message-Id: <15fb406a-0f12-4708-abe7-91a464fecbc2@app.fastmail.com> In-Reply-To: References: <20230913152238.905247-1-mszeredi@redhat.com> <20230913152238.905247-3-mszeredi@redhat.com> <44631c05-6b8a-42dc-b37e-df6776baa5d4@app.fastmail.com> <20230925-total-debatten-2a1f839fde5a@brauner> <20230925-wahlrecht-zuber-3cdc5a83d345@brauner> Date: Mon, 25 Sep 2023 17:46:59 +0200 From: "Arnd Bergmann" To: "Miklos Szeredi" , "Christian Brauner" Cc: "Miklos Szeredi" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-man@vger.kernel.org, linux-security-module@vger.kernel.org, "Karel Zak" , "Ian Kent" , "David Howells" , "Linus Torvalds" , "Alexander Viro" , "Christian Brauner" , "Amir Goldstein" Subject: Re: [RFC PATCH 2/3] add statmnt(2) syscall Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 25 Sep 2023 08:48:21 -0700 (PDT) On Mon, Sep 25, 2023, at 15:20, Miklos Szeredi wrote: > On Mon, 25 Sept 2023 at 15:19, Christian Brauner wrote: >> >> > How about passing u64 *? >> >> struct statmnt_req { >> __u64 mnt_id; >> __u64 mask; >> }; >> >> ? > > I'm fine with that as well. Yes, this looks fine for the compat syscall purpose. Not sure if losing visibility of the mnt_id and mask in ptrace or seccomp/bpf is a problem though. Arnd