Re: [patch 1/3] procfs: fdinfo -- Extend information about epoll target files

2017-03-17 Thread Cyrill Gorcunov
On Thu, Mar 16, 2017 at 09:59:09PM -0700, Andrei Vagin wrote: > On Fri, Mar 10, 2017 at 11:16:56AM +0300, Cyrill Gorcunov wrote: > > Since it is possbile to have same number in tfd field (say > > file added, closed, then nother file dup'ed to same number > > and added back) it is imposible to disti

Re: [patch 1/3] procfs: fdinfo -- Extend information about epoll target files

2017-03-16 Thread Andrei Vagin
On Fri, Mar 10, 2017 at 11:16:56AM +0300, Cyrill Gorcunov wrote: > Since it is possbile to have same number in tfd field (say > file added, closed, then nother file dup'ed to same number > and added back) it is imposible to distinguish such target > files solely by their numbers. > > Strictly spea

[patch 1/3] procfs: fdinfo -- Extend information about epoll target files

2017-03-10 Thread Cyrill Gorcunov
Since it is possbile to have same number in tfd field (say file added, closed, then nother file dup'ed to same number and added back) it is imposible to distinguish such target files solely by their numbers. Strictly speaking regular applications don't need to recognize these targets at all but fo