[LTP] [PATCH v3] syscalls/fanotify07: Add stop_children() to cleanup()

Petr Vorel pvorel@suse.cz
Tue Nov 23 09:12:13 CET 2021


Hi all,

> Hi,

> I have test the patch through setting "ulimit -n 20" and while true;do ./fanotify07 &;echo "";done 

> Or just add a tst_brk as follow:

>         /*
>          * Create and destroy another instance. This may hang if
>          * unanswered fanotify events block notification subsystem.
>          */
>         newfd = setup_instance();

>         SAFE_CLOSE(newfd);

> 		/* inject */
> 		tst_brk(TBROK, "exit abnormally");

>         tst_res(TPASS, "second instance destroyed successfully");

OK, thanks for testing! (suppose you've done this for v3).
I'm going to merge it today.

> For email CC, I have CC to you and Amir yesterday, please check.
You send extra mail on older version with info that you posted new version.
More effective is to use --cc parameter on git format-patch or git send-email in
new version (fewer mails + people don't have to search for particular email in
LTP mailing list mailbox).

Also, FYI we have archive on lore: https://lore.kernel.org/ltp/
(patchwork sometimes some mails).

Kind regards,
Petr

> Thanks very much!

> Gongyi


More information about the ltp mailing list