projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33bfad5
)
MIPS: SMTC: Fix build after recent creditial changes.
author
Ralf Baechle
<ralf@linux-mips.org>
Sun, 11 Jan 2009 18:27:10 +0000
(18:27 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 30 Jan 2009 21:32:56 +0000
(21:32 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/mips-mt-fpaff.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/mips-mt-fpaff.c
b/arch/mips/kernel/mips-mt-fpaff.c
index 5e77a3a21f98e7926cc789915ad65bbe64911a1a..42461310b185c683b9738fda5af742a74718b5ae 100644
(file)
--- a/
arch/mips/kernel/mips-mt-fpaff.c
+++ b/
arch/mips/kernel/mips-mt-fpaff.c
@@
-79,7
+79,8
@@
asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len,
euid = current_euid();
retval = -EPERM;
- if (euid != p->euid && euid != p->uid && !capable(CAP_SYS_NICE)) {
+ if (euid != p->cred->euid && euid != p->cred->uid &&
+ !capable(CAP_SYS_NICE)) {
read_unlock(&tasklist_lock);
goto out_unlock;
}