On 23 nov. 2025 11:53, Thomas Dickey <[email protected]> wrote:

[...]

> The first parameter (3) is the file descriptor.
> I don't see this particular trace in the discussion, but
> you should be able to find an openat() preceding these read's
> which returns 3, e.g., something like this one:
>
> 8910  openat(AT_FDCWD, "/home/revadam/.zsh_history", O_RDONLY) = 3
>
> Knowing what file has been opened/read might give some clues about
> what the program is doing when deciding to write "yes".

It's /dev/null

See attached strace log file.

Attachment: strace.log.gz
Description: application/gzip

Christian

Reply via email to