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

Petr Vorel pvorel@suse.cz
Wed Mar 24 21:31:09 CET 2021


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