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:
558a447
)
userns: On ppc convert current_uid from a kuid before printing.
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 7 Aug 2012 10:59:47 +0000
(
03:59
-0700)
committer
Eric W. Biederman
<ebiederm@xmission.com>
Fri, 21 Sep 2012 10:13:28 +0000
(
03:13
-0700)
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/powerpc/mm/fault.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/fault.c
b/arch/powerpc/mm/fault.c
index 08ffcf52a8564211d609bc2cf1fa8dfc3a6e8678..e5f028b5794e6a69498184f9b3b7b617b0701bbb 100644
(file)
--- a/
arch/powerpc/mm/fault.c
+++ b/
arch/powerpc/mm/fault.c
@@
-470,7
+470,7
@@
bad_area_nosemaphore:
if (is_exec && (error_code & DSISR_PROTFAULT))
printk_ratelimited(KERN_CRIT "kernel tried to execute NX-protected"
" page (%lx) - exploit attempt? (uid: %d)\n",
- address,
current_uid(
));
+ address,
from_kuid(&init_user_ns, current_uid()
));
return SIGSEGV;