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
MIPS: MT: Fix build with CONFIG_UIDGID_STRICT_TYPE_CHECKS=y
[pandora-kernel.git]
/
arch
/
mips
/
kernel
/
mips-mt-fpaff.c
diff --git
a/arch/mips/kernel/mips-mt-fpaff.c
b/arch/mips/kernel/mips-mt-fpaff.c
index
33f63ba
..
fd814e0
100644
(file)
--- a/
arch/mips/kernel/mips-mt-fpaff.c
+++ b/
arch/mips/kernel/mips-mt-fpaff.c
@@
-50,8
+50,8
@@
static bool check_same_owner(struct task_struct *p)
rcu_read_lock();
pcred = __task_cred(p);
- match = (
cred->euid == pcred->euid
||
-
cred->euid == pcred->uid
);
+ match = (
uid_eq(cred->euid, pcred->euid)
||
+
uid_eq(cred->euid, pcred->uid)
);
rcu_read_unlock();
return match;
}