projects
/
platform
/
kernel
/
kernel-mfld-blackbay.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
|
history
diff --git
a/arch/mips/kernel/mips-mt-fpaff.c
b/arch/mips/kernel/mips-mt-fpaff.c
index
5e77a3a
..
4246131
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;
}