From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: [PATCH 0/11 v3] audit: Fix various races when tagging and untagging mounts Date: Tue, 4 Sep 2018 18:06:20 +0200 Message-ID: <20180904160632.21210-1-jack@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Paul Moore Cc: Jan Kara , rgb@redhat.com, Amir Goldstein , linux-audit@redhat.com, Al Viro , linux-fsdevel@vger.kernel.org List-Id: linux-audit@redhat.com Hello, this is the third revision of the series that addresses problems I have identified when trying to understand how exactly is kernel/audit_tree.c using generic fsnotify framework. I hope I have understood all the interactions right but careful review is certainly welcome. The patches have been tested by a stress test I have written which mounts & unmounts filesystems in the directory tree while adding and removing audit rules for this tree in parallel and accessing the tree to generate events. Still some real-world testing would be welcome. Changes since v2: * Fixed up mark freeing to use proper pointer as pointed out by Amir * Changed some naming based on Paul's review Changes since v1: * Split the last patch to ease review * Rewrite test script so that it can be included in audit testsuite * Some cleanups and improvements suggested by Amir Honza