projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (13772): [Mantis] Do not enable Common Memory Access
[cascardo/linux.git]
/
fs
/
signalfd.c
diff --git
a/fs/signalfd.c
b/fs/signalfd.c
index
b07565c
..
1dabe4e
100644
(file)
--- a/
fs/signalfd.c
+++ b/
fs/signalfd.c
@@
-236,7
+236,7
@@
SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask,
* anon_inode_getfd() will install the fd.
*/
ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx,
-
flags & (O_CLOEXEC | O_NONBLOCK
));
+
O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK)
));
if (ufd < 0)
kfree(ctx);
} else {