[LTP] [PATCH v2] sycalls: select03: Make nfds use the correct value

Cyril Hrubis chrubis@suse.cz
Thu Nov 5 13:37:51 CET 2020


Hi!
> When running select03 with runltp in /opt/ltp, this case failed as below:
> select03.c:52: TFAIL: Invalid readfds: select() passed unexpectedly with 0
> select03.c:52: TFAIL: Invalid writefds: select() passed unexpectedly with 0
> select03.c:52: TFAIL: Invalid exceptfds: select() passed unexpectedly with 0

Also I do not get how runltp changes the test behavior, does ltp-pan
leak file descriptors? If so it should be fixed to open files with
O_CLOEXEC.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list