OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM: Rename CAP_EPOLLWAKEUP to CAP_BLOCK_SUSPEND
[uclinux-h8/linux.git]
/
fs
/
eventpoll.c
diff --git
a/fs/eventpoll.c
b/fs/eventpoll.c
index
74598f6
..
1c8b556
100644
(file)
--- a/
fs/eventpoll.c
+++ b/
fs/eventpoll.c
@@
-1710,7
+1710,7
@@
SYSCALL_DEFINE4(epoll_ctl, int, epfd, int, op, int, fd,
goto error_tgt_fput;
/* Check if EPOLLWAKEUP is allowed */
- if ((epds.events & EPOLLWAKEUP) && !capable(CAP_
EPOLLWAKEUP
))
+ if ((epds.events & EPOLLWAKEUP) && !capable(CAP_
BLOCK_SUSPEND
))
epds.events &= ~EPOLLWAKEUP;
/*