Searched hist:"799 b6014" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/ |
H A D | audit_tree.c | 799b6014 Tue Nov 04 04:27:12 CST 2014 Miklos Szeredi <mszeredi@suse.cz> audit: keep inode pinned
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: 90b1e7a57880 ("fsnotify: allow marks to not pin inodes in core") Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: stable@vger.kernel.org # 2.6.36+ Signed-off-by: Paul Moore <pmoore@redhat.com> 799b6014 Tue Nov 04 04:27:12 CST 2014 Miklos Szeredi <mszeredi@suse.cz> audit: keep inode pinned 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: 90b1e7a57880 ("fsnotify: allow marks to not pin inodes in core") Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: stable@vger.kernel.org # 2.6.36+ Signed-off-by: Paul Moore <pmoore@redhat.com>
|