[PATCH 1/6] audit_tree: Replace mark->lock locking

Jan Kara jack at suse.cz
Tue Jul 3 14:07:08 UTC 2018


On Fri 29-06-18 14:31:57, Amir Goldstein wrote:
> On Thu, Jun 28, 2018 at 7:40 PM, Jan Kara <jack at suse.cz> wrote:
> > Currently, audit_tree code uses mark->lock to protect against detaching
> > of mark from an inode. In most places it however also uses
> > mark->group->mark_mutex (as we need to atomically replace attached
> > marks) and this provides protection against mark detaching as well. So
> > just replace protection with mark->lock from audit tree code and replace
> 
> typo.....^ s/replace/remove

Thanks fixed.

								Honza
-- 
Jan Kara <jack at suse.com>
SUSE Labs, CR




More information about the Linux-audit mailing list