Re: [PATCH RFC 1/2] Add polling support to pidfd
From: Enrico Weigelt, metux IT consult
Date: Wed Apr 24 2019 - 05:05:04 EST
On 20.04.19 01:46, Daniel Colascione wrote:
> If you turn pidfd into an event stream, reads have to be destructive.
> If reads are destructive, you can't share pidfds instances between
> multiple readers.
Can't we find a way to duplicate them ? Someting like dup(), but
with actually duplicating the open file ? (maybe add a flag for
that to dup3 ?)
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287