mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge branch 'pm-sleep'
* pm-sleep: epoll: Fix user space breakage related to EPOLLWAKEUP
This commit is contained in:
commit
8714c8d74d
@ -1711,7 +1711,7 @@ SYSCALL_DEFINE4(epoll_ctl, int, epfd, int, op, int, fd,
|
||||
|
||||
/* Check if EPOLLWAKEUP is allowed */
|
||||
if ((epds.events & EPOLLWAKEUP) && !capable(CAP_EPOLLWAKEUP))
|
||||
goto error_tgt_fput;
|
||||
epds.events &= ~EPOLLWAKEUP;
|
||||
|
||||
/*
|
||||
* We have to check that the file structure underneath the file descriptor
|
||||
|
Loading…
x
Reference in New Issue
Block a user