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

2017-05-09 Thread Andrei Vagin
On Mon, Apr 24, 2017 at 06:39:27PM +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

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

2017-05-09 Thread Andrei Vagin
On Mon, Apr 24, 2017 at 06:39:27PM +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

[patch v4 resend 1/2] procfs: fdinfo -- Extend information about epoll target files

2017-04-24 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

[patch v4 resend 1/2] procfs: fdinfo -- Extend information about epoll target files

2017-04-24 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