Re: [PATCH] eventpoll: fix uninitialized variable in epoll_ctl

2014-08-20 Thread Eric Wong
Nicolas Iooss wrote: > When calling epoll_ctl with operation EPOLL_CTL_DEL, structure epds is > not initialized but ep_take_care_of_epollwakeup reads its event field. > When this unintialized field has EPOLLWAKEUP bit set, a capability check > is done for CAP_BLOCK_SUSPEND in

Re: [PATCH] eventpoll: fix uninitialized variable in epoll_ctl

2014-08-20 Thread Eric Wong
Nicolas Iooss nicolas.iooss_li...@m4x.org wrote: When calling epoll_ctl with operation EPOLL_CTL_DEL, structure epds is not initialized but ep_take_care_of_epollwakeup reads its event field. When this unintialized field has EPOLLWAKEUP bit set, a capability check is done for CAP_BLOCK_SUSPEND

[PATCH] eventpoll: fix uninitialized variable in epoll_ctl

2014-08-19 Thread Nicolas Iooss
When calling epoll_ctl with operation EPOLL_CTL_DEL, structure epds is not initialized but ep_take_care_of_epollwakeup reads its event field. When this unintialized field has EPOLLWAKEUP bit set, a capability check is done for CAP_BLOCK_SUSPEND in ep_take_care_of_epollwakeup. This produces

[PATCH] eventpoll: fix uninitialized variable in epoll_ctl

2014-08-19 Thread Nicolas Iooss
When calling epoll_ctl with operation EPOLL_CTL_DEL, structure epds is not initialized but ep_take_care_of_epollwakeup reads its event field. When this unintialized field has EPOLLWAKEUP bit set, a capability check is done for CAP_BLOCK_SUSPEND in ep_take_care_of_epollwakeup. This produces