lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 18 May 2012 04:16:32 -0700 From: tip-bot for Konstantin Khlebnikov <khlebnikov@...nvz.org> To: linux-tip-commits@...r.kernel.org Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org, a.p.zijlstra@...llo.nl, khlebnikov@...nvz.org, tglx@...utronix.de Subject: [tip:sched/core] sched: Taint kernel with TAINT_WARN after sleep-in-atomic bug Commit-ID: 1c2927f18576d65631d8e0ddd19e1d023183222e Gitweb: http://git.kernel.org/tip/1c2927f18576d65631d8e0ddd19e1d023183222e Author: Konstantin Khlebnikov <khlebnikov@...nvz.org> AuthorDate: Thu, 10 May 2012 16:20:04 +0400 Committer: Ingo Molnar <mingo@...nel.org> CommitDate: Fri, 18 May 2012 13:07:40 +0200 sched: Taint kernel with TAINT_WARN after sleep-in-atomic bug Usually sleep-in-atomic bugs are followed by dozens other warnings. This patch should help to figure out original source of problem. Signed-off-by: Konstantin Khlebnikov <khlebnikov@...nvz.org> Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl> Link: http://lkml.kernel.org/r/20120510122004.4873.12726.stgit@zurg Signed-off-by: Ingo Molnar <mingo@...nel.org> --- kernel/sched/core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 24ca677..ab9745f 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3138,6 +3138,7 @@ static noinline void __schedule_bug(struct task_struct *prev) if (irqs_disabled()) print_irqtrace_events(prev); dump_stack(); + add_taint(TAINT_WARN); } /* -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists