Re: [lttng-dev] [PATCH lttng-tools V2] Test: Replace test relying pselect6(2) man page ambiguity

2017-06-01 Thread Jérémie Galarneau
Merged with minor comment/documentation modifications in master, stable-2.10, and stable-2.9. Also, the "usage" text was not adapted to reflect the new test. Thanks! Jérémie On 31 May 2017 at 17:08, Francis Deslauriers wrote: > The `pselect_fd_too_big` test is

[lttng-dev] [PATCH lttng-tools V2] Test: Replace test relying pselect6(2) man page ambiguity

2017-05-31 Thread Francis Deslauriers
The `pselect_fd_too_big` test is checking for the case where the `nfds` is larger than the number of open files allowed for this process (RLIMIT_NOFILE). According to the ERRORS section of the pselect6(2) kernel man page[1], if `nfds` > RLIMIT_NOFILE is evaluate to true the pselect6 syscall