Files
linux/kernel
Miklos Szeredi bd501a2eb2 audit: keep inode pinned
commit 799b601451 upstream.

Audit rules disappear when an inode they watch is evicted from the cache.
This is likely not what we want.

The guilty commit is "fsnotify: allow marks to not pin inodes in core",
which didn't take into account that audit_tree adds watches with a zero
mask.

Adding any mask should fix this.

Fixes: 90b1e7a578 ("fsnotify: allow marks to not pin inodes in core")
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-21 09:22:52 -08:00
..
2014-10-09 12:18:42 -07:00
2013-04-22 07:09:06 -07:00
2014-11-21 09:22:52 -08:00
2013-04-15 13:25:16 +02:00
2014-10-09 12:18:42 -07:00
2014-10-05 14:54:13 -07:00
2013-05-05 00:16:35 -04:00
2014-07-17 15:58:04 -07:00
2014-06-07 13:25:30 -07:00