[LTP] [PATCH] syscalls/setns: Replace libc function with safe_macros

zhaogongyi zhaogongyi@huawei.com
Thu Mar 25 03:41:32 CET 2021


Hi Petr,

I'm sorry! Its my fault, thanks for your review!

I have resubmit the patch.

Best Regards,
Gongyi

> 
> Hi Gongyi,
> 
> thanks for your patchset. While it looks correct, some of changes break
> both tests:
> 
> ./setns01 -i 5
> tst_test.c:1289: TINFO: Timeout per run is 0h 05m 00s
> setns01.c:153: TCONF: no ns types/proc entries
> 
> ./setns02 -i 5
> tst_test.c:1289: TINFO: Timeout per run is 0h 05m 00s
> setns02.c:160: TCONF: your kernel has CONFIG_IPC_NS, CONFIG_UTS_NS
> or CONFIG_PROC disabled
> setns02.c:175: TWARN: shmctl(0, 0, (nil)) failed: EINVAL (22)
> 
> Kind regards,
> Petr


More information about the ltp mailing list