aboutsummaryrefslogtreecommitdiff
path: root/kernel/audit_tree.c
Commit message (Collapse)AuthorAgeFilesLines
* audit: Fix sleep in atomicJan Kara2017-08-311-2/+14
| | | | | | | | | | | | Audit tree code was happily adding new notification marks while holding spinlocks. Since fsnotify_add_mark() acquires group->mark_mutex this can lead to sleeping while holding a spinlock, deadlocks due to lock inversion, and probably other fun. Fix the problem by acquiring group->mark_mutex earlier. CC: Paul Moore <paul@paul-moore.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Paul Moore <paul@paul-moore.com>
* first commitMeizu OpenSource2016-08-151-0/+966