[LTP] syscalls: Add epoll_create03
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Thu Apr 23 15:43:23 CEST 2026
Hi Cyril,
--- [PATCH 2/8] ---
On 2026-04-23, Cyril Hrubis wrote:
> syscalls: Add epoll_wait08
> + * - Create an epoll instance and register a socket fd for EPOLLIN.
> + * - Fork a child that waits for the parent to enter epoll_wait, then sends
> + * SIGUSR1 to interrupt it.
The algorithm comment is wrong on two counts. No fd is registered with the
epoll instance — setup() only calls SAFE_EPOLL_CREATE1(). And it is the
child that blocks in epoll_wait, not the parent; the parent sends SIGUSR1.
--- [PATCH 6/8] ---
On 2026-04-23, Cyril Hrubis wrote:
> syscalls: Add epoll_wait11
> + * - The child's epoll_wait should return with EPOLLHUP and the child reports
> + * the result via its exit code.
The child reports via tst_res(TPASS/TFAIL, ...) before exit(0), not via
the exit code. Fix the comment accordingly.
---
Note:
Our agent completed the review of the patch. The full review can be
found at: https://patchwork.ozlabs.org/project/ltp/list/?series=501188
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list