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

Cyril Hrubis chrubis@suse.cz
Wed May 23 13:08:34 CEST 2018


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

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

* Added .gitignore and runtest entries

Thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list