Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2305790rwj; Mon, 19 Dec 2022 02:41:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXtQHI6KTe0kqD3GTygP6rhj65qUoqMDQHZ6FcvD5PJJx3epUtCcJeG1VYW0R3Q2NSOyPngV X-Received: by 2002:a05:6402:538a:b0:468:ccfb:bed4 with SMTP id ew10-20020a056402538a00b00468ccfbbed4mr17006402edb.28.1671446498677; Mon, 19 Dec 2022 02:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671446498; cv=none; d=google.com; s=arc-20160816; b=MMWmkEBqzXavAoUAl7dqe1v61PQ1jFZGt2UYzjrY1LyprIB5yz2RK8g3FIVWFGjj99 v/NLdFavJSaPNBZ97i6q3MFYVRq0YBQWyX3jc2J01o5y4yELiyFdtvHFR4bK5UxyIlic Zt/ytNJT+0ZqW4k8ljxLTicvYJQb6NOwLvo/xUJ9Sz4liHo/ltmsi6K46PhDhOd690T7 3ikTN6NzmRRj9KwKTKbSHdzZPahDmMgRuy9vhB9MOwiiRcAZsMx77la68s42RPZBr+ur k8/7I9d3Hs3DSt4YyMTBb7dC/siwHCl7iRpYYMKvF4dHFGwgXBWwSNcu5zLfyhOlLfaz v/mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=3dICCo4812NSE+Ksmy3//irJG0tDZgjWzexkQRofcf4=; b=xo7k/N5xIqzW5xP5EliF/xLLpsRzyRtP+O4hXxX/3+dWXxRDxhnjCv2bJVG2tItoSi dkn972UXfdsOgindkzYiojGiDTmx7RKyfjjmLhfqyseHm+uJrLrJMmOUm+opMYQGqIvG GCkxSJY0iqDmwItaAQMScvQrQ1eK2MeuqVXtiN0p6wTXI2lmZhkBISSwPrcJce0qJ4Ct 4vBuSM1Ly0IaMzpHawpSGYdHTpXyPApRs0AQ504RlotZUeuagvm4y3bZfyGTH0cJn8vE QMd+e8anuKLMeBDTuhZU6U45yggyJZXubN4lsW51F3uggBAHhCusf7oEX23b9BGZohcg XTQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=04zDuimB; dkim=neutral (no key) header.i=@suse.cz; 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 q20-20020a056402033400b0043dc00e0740si7954438edw.373.2022.12.19.02.41.22; Mon, 19 Dec 2022 02:41:38 -0800 (PST) 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=pass header.i=@suse.cz header.s=susede2_rsa header.b=04zDuimB; dkim=neutral (no key) header.i=@suse.cz; 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 S231771AbiLSK0L (ORCPT + 70 others); Mon, 19 Dec 2022 05:26:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231830AbiLSKZz (ORCPT ); Mon, 19 Dec 2022 05:25:55 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B476CE41; Mon, 19 Dec 2022 02:25:50 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4E8BB37323; Mon, 19 Dec 2022 10:25:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1671445549; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3dICCo4812NSE+Ksmy3//irJG0tDZgjWzexkQRofcf4=; b=04zDuimBkZFtqJfiwxJUdw8+ClImZRpwGh3Hqc685njyuL1AJSbVSJRozZNlWm33juOQlN hTHs21Mm/5IZdYYBx205LIUvTVraqw1oc5+OY9zfwLTJL4tVh3syqfLzxpTSVmw2sYQX82 HQX1lVVm80KmNEYFeqSkGJ/PHuVwQhU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1671445549; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3dICCo4812NSE+Ksmy3//irJG0tDZgjWzexkQRofcf4=; b=752P1krkWV/pAvwnMceaKk+TTkkrOBx+IWdoxCPUPGP9+qdWAHYBEegkxc8b7s4iMIDxeX R52yQgepv44hObAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3C19313910; Mon, 19 Dec 2022 10:25:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NFydDi08oGOJNAAAMHmgww (envelope-from ); Mon, 19 Dec 2022 10:25:49 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id B199AA0732; Mon, 19 Dec 2022 11:10:23 +0100 (CET) Date: Mon, 19 Dec 2022 11:10:23 +0100 From: Jan Kara To: Paul Moore Cc: Jan Kara , Richard Guy Briggs , Linux-Audit Mailing List , LKML , linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, Eric Paris , Steve Grubb , Amir Goldstein Subject: Re: [PATCH v5 2/3] fanotify: define struct members to hold response decision context Message-ID: <20221219101023.6bqjj3jg3il2fbzf@quack3> References: <45da8423b9b1e8fc7abd68cd2269acff8cf9022a.1670606054.git.rgb@redhat.com> <20221216164342.ojcbdifdmafq5njw@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL 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 On Fri 16-12-22 12:05:14, Paul Moore wrote: > On Fri, Dec 16, 2022 at 11:43 AM Jan Kara wrote: > > > > On Mon 12-12-22 09:06:10, Richard Guy Briggs wrote: > > > This patch adds a flag, FAN_INFO and an extensible buffer to provide > > > additional information about response decisions. The buffer contains > > > one or more headers defining the information type and the length of the > > > following information. The patch defines one additional information > > > type, FAN_RESPONSE_INFO_AUDIT_RULE, to audit a rule number. This will > > > allow for the creation of other information types in the future if other > > > users of the API identify different needs. > > > > > > Suggested-by: Steve Grubb > > > Link: https://lore.kernel.org/r/2745105.e9J7NaK4W3@x2 > > > Suggested-by: Jan Kara > > > Link: https://lore.kernel.org/r/20201001101219.GE17860@quack2.suse.cz > > > Signed-off-by: Richard Guy Briggs > > > > Thanks for the patches. They look very good to me. Just two nits below. I > > can do the small updates on commit if there would be no other changes. But > > I'd like to get some review from audit guys for patch 3/3 before I commit > > this. > > It's in my review queue, but it's a bit lower in the pile as my > understanding is that the linux-next folks don't like to see new > things in the next branches until after the merge window closes. Sure, there's no hurry :). I just wanted to make it clear where the things stand. Honza -- Jan Kara SUSE Labs, CR