lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <jbg6kfxwniksrgnmnxr7go5kml2iw3tucnnbe4pqhvi4in6wlo@z6m4tcanewmk>
Date:   Mon, 26 Jun 2023 17:12:46 +0200
From:   Ahelenia ZiemiaƄska 
        <nabijaczleweli@...ijaczleweli.xyz>
To:     Amir Goldstein <amir73il@...il.com>
Cc:     Alexander Viro <viro@...iv.linux.org.uk>,
        Christian Brauner <brauner@...nel.org>,
        linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        Jan Kara <jack@...e.cz>
Subject: Re: splice(-> FIFO) never wakes up inotify IN_MODIFY?

On Mon, Jun 26, 2023 at 05:53:46PM +0300, Amir Goldstein wrote:
> > So is it really true that the only way to poll a pipe is a
> > sleep()/read(O_NONBLOCK) loop?
> I don't think so, but inotify is not the way.
So what is? What do the kernel developers recommend as a way to see if a
file is written to, and that file happens to be a pipe?

FTR, I've opened the symmetric Debian#1039488:
  https://bugs.debian.org/1039488
against coreutils, since, if this is expected, and writing to a pipe
should not generate write events on that pipe, then tail -f is currently
broken on most systems.

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ