public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] inotify07: Add test for kernel crash during event notification
Date: Wed, 23 May 2018 13:08:34 +0200	[thread overview]
Message-ID: <20180523110834.GA8833@rei> (raw)
In-Reply-To: <20180503152236.17488-1-jack@suse.cz>

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

  reply	other threads:[~2018-05-23 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03 15:22 [LTP] [PATCH] inotify07: Add test for kernel crash during event notification Jan Kara
2018-05-23 11:08 ` Cyril Hrubis [this message]
2018-05-23 11:20   ` Jan Kara
  -- strict thread matches above, loose matches on Subject: below --
2018-05-03 11:42 Jan Kara
2018-05-03 15:06 ` Cyril Hrubis
     [not found] ` <CAOQ4uxgQK9HtojVteoQNJfaP5qVX67HxmHoQ-XKLtjaTq4==Lg@mail.gmail.com>
2018-05-04 14:06   ` Cyril Hrubis
     [not found]     ` <20180509130356.czmvg4b3ndrtosir@quack2.suse.cz>
2018-05-10 11:06       ` Cyril Hrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180523110834.GA8833@rei \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox