projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRED: Use creds in file structs
[linux-block.git]
/
arch
/
mips
/
kernel
/
vpe.c
diff --git
a/arch/mips/kernel/vpe.c
b/arch/mips/kernel/vpe.c
index 972b2d2b8401b6dd7bd4922690205c6b8f3a5cdf..09786e496375267d1fafd9adffa7d1dd17c8928e 100644
(file)
--- a/
arch/mips/kernel/vpe.c
+++ b/
arch/mips/kernel/vpe.c
@@
-1085,8
+1085,8
@@
static int vpe_open(struct inode *inode, struct file *filp)
v->load_addr = NULL;
v->len = 0;
- v->uid = filp->f_uid;
- v->gid = filp->f_gid;
+ v->uid = filp->f_
cred->fs
uid;
+ v->gid = filp->f_
cred->fs
gid;
#ifdef CONFIG_MIPS_APSP_KSPD
/* get kspd to tell us when a syscall_exit happens */