[LTP] [PATCH] syscalls/setsockopt09: Add another linux git
Martin Doucha
mdoucha@suse.cz
Wed Mar 9 11:51:49 CET 2022
On 09. 03. 22 3:03, xuyang2018.jy@fujitsu.com wrote:
> Hi Martin
>> The timeout is controlled by req.tp_retire_blk_tov and the value is in
>> milliseconds. So usleep(req.tp_retire_blk_tov * 3000) should be enough.
> I tested this on my vm, it still can't ensure hit the old crash before
> print PASS log.
That is probably expected. You'll need make a taint check after the
usleep() to detect failure. See setsockopt06 which tests for similar
use-after-free in socket timer.
--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list