[LTP] [PATCH] inotify07: Add test for kernel crash during event notification

Jan Kara jack@suse.cz
Wed May 23 13:20:32 CEST 2018


On Wed 23-05-18 13:08:34, Cyril Hrubis wrote:
> Hi!
> > When a removal of the last mark on inode / vfsmount races with a
> > notification about new event on that object, the kernel can crash. Test
> > for this failure. The problem was fixed by kernel commit d90a10e2444b
> > "fsnotify: Fix fsnotify_mark_connector race".
> 
> Pushed as inotify09 with following changes:
> 
> * I've changed the test to use two threads and fzsync synchronization
>   library we implemented especially for triggering races between
>   syscalls

Thanks! I'll check how that is used.

> * Changed the licence to GPLv2+ which is default for LTP, I hope that
>   you do not mind

Sure, I'm fine with that.

> * Added .gitignore and runtest entries

Bah, keep forgetting about that. Thanks for fixing that up.

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


More information about the ltp mailing list