|
@@ -393,7 +393,7 @@ static void show_fault_oops(struct pt_regs *regs, unsigned long error_code,
|
|
|
if (pte && pte_present(*pte) && !pte_exec(*pte))
|
|
|
printk(KERN_CRIT "kernel tried to execute "
|
|
|
"NX-protected page - exploit attempt? "
|
|
|
- "(uid: %d)\n", current->uid);
|
|
|
+ "(uid: %d)\n", current_uid());
|
|
|
}
|
|
|
#endif
|
|
|
|