[LTP] [PATCH] syscalls/shmctl: Using TERRNO to macth errno

zhaogongyi zhaogongyi@huawei.com
Mon Mar 29 03:56:07 CEST 2021


Hi Li,

Actually, I have no effective tools to find out all of this type problems.

Thanks for your review!

Best Regards,
Gongyi



Hi Gongyi,

On Sat, Mar 27, 2021 at 6:24 PM Zhao Gongyi <zhaogongyi@huawei.com<mailto:zhaogongyi@huawei.com>> wrote:
When "shmid == -1", we need print the errno with TERRNO. It must have no error in
TEST, otherwise it has return early.

Right, but it is mostly caused by copy&past.

And, I guess you are working on fix the TERRNO/TTERRNO issues currently,
so it would be great to combine them together in one patch, other than sending
it one by one separately.

Anyway, I help push this. Thanks!

--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210329/48eecfeb/attachment.htm>


More information about the ltp mailing list