Skip to content

RFC fs,eventpoll: Add EPOLL_CTL_DUP into epoll_ctl syscall

Cyrill Gorcunov linux-api linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 of 2 patches 6 repliesIn review

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fs,eventpoll: Add ability to install target file by its numberfs/eventpoll.c include/uapi/linux/eventpoll.h+65 -106 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] fs,eventpoll: Add EPOLL_CTL_DUP into epoll_ctl syscall

In the series new EPOLL_CTL_DUP operation introduced, we need it to be able to restore target file descriptors in case if they were dup'ed (or received via unix message) before registering and closed after, so the fdinfo info shows file number which application no longer having.

Please take a look. Kir, I slightly updated manpage to mention the reason why we need this operation.

Cyrill