Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
Pull module update from Rusty Russell: "The sweeping change is to make add_taint() explicitly indicate whether to disable lockdep, but it's a mechanical change." * tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux: MODSIGN: Add option to not sign modules during modules_install MODSIGN: Add -s <signature> option to sign-file MODSIGN: Specify the hash algorithm on sign-file command line MODSIGN: Simplify Makefile with a Kconfig helper module: clean up load_module a little more. modpost: Ignore ARC specific non-alloc sections module: constify within_module_* taint: add explicit flag to show whether lock dep is still OK. module: printk message when module signature fail taints kernel.
This commit is contained in:
@@ -115,7 +115,7 @@ static void __init process_switch(char c)
|
||||
break;
|
||||
}
|
||||
cheetah_pcache_forced_on = 1;
|
||||
add_taint(TAINT_MACHINE_CHECK);
|
||||
add_taint(TAINT_MACHINE_CHECK, LOCKDEP_NOW_UNRELIABLE);
|
||||
cheetah_enable_pcache();
|
||||
break;
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ void die_if_kernel(char *str, struct pt_regs *regs)
|
||||
|
||||
printk("%s(%d): %s [#%d]\n", current->comm, task_pid_nr(current), str, ++die_counter);
|
||||
show_regs(regs);
|
||||
add_taint(TAINT_DIE);
|
||||
add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE);
|
||||
|
||||
__SAVE; __SAVE; __SAVE; __SAVE;
|
||||
__SAVE; __SAVE; __SAVE; __SAVE;
|
||||
|
||||
@@ -2383,7 +2383,7 @@ void die_if_kernel(char *str, struct pt_regs *regs)
|
||||
notify_die(DIE_OOPS, str, regs, 0, 255, SIGSEGV);
|
||||
__asm__ __volatile__("flushw");
|
||||
show_regs(regs);
|
||||
add_taint(TAINT_DIE);
|
||||
add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE);
|
||||
if (regs->tstate & TSTATE_PRIV) {
|
||||
struct thread_info *tp = current_thread_info();
|
||||
struct reg_window *rw = (struct reg_window *)
|
||||
|
||||
Reference in New Issue
Block a user