git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow passing O_PATH descriptors via SCM_RIGHTS datagrams
[pandora-kernel.git]
/
net
/
core
/
scm.c
diff --git
a/net/core/scm.c
b/net/core/scm.c
index
bbe4544
..
4c1ef02
100644
(file)
--- a/
net/core/scm.c
+++ b/
net/core/scm.c
@@
-95,7
+95,7
@@
static int scm_fp_copy(struct cmsghdr *cmsg, struct scm_fp_list **fplp)
int fd = fdp[i];
struct file *file;
- if (fd < 0 || !(file = fget(fd)))
+ if (fd < 0 || !(file = fget
_raw
(fd)))
return -EBADF;
*fpp++ = file;
fpl->count++;