[LTP] [PATCH 3/5] mq_timedsend01: Workaround segfault on libc variant on 32 bit
Petr Vorel
pvorel@suse.cz
Mon Nov 25 10:28:14 CET 2024
Hi Jan,
...
> > > > + if (tc->bad_ts_addr) {
> > > Would it make sense to run bad_msg_addr/EFAULT test also in child?
> > First, thanks a lot a review.
> > I'm not sure myself. So far it's not needed (problem is only with struct
> > timespec *abs_timeout not with const char msg_ptr[]). But OTOH it does not
> > harm. Doing this might prevent some failure in the future.
> It was only as a precaution. Either way, feel free to add to series:
> Acked-by: Jan Stancek <jstancek@redhat.com>
Thanks a lot for your review. Merged with changing bad_msg_addr/EFAULT being
tested also in child.
Kind regards,
Petr
More information about the ltp
mailing list