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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1510152259470.21100@pobox.suse.cz>
Date:	Thu, 15 Oct 2015 23:02:39 +0200 (CEST)
From:	Jiri Kosina <jikos@...nel.org>
To:	Don Zickus <dzickus@...hat.com>
cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>, uobergfe@...hat.com,
	atomlin@...hat.com
Subject: Re: [PATCH] watchdog: Add sysctl knob hardlockup_panic

On Wed, 14 Oct 2015, Don Zickus wrote:

> The only way to enable a hardlockup to panic the machine is to set
> 'nmi_watchdog=panic' on the kernel command line.
> 
> This makes it awkward for end users and folks who want to run automate tests
> (like myself).
> 
> Mimic the softlockup_panic knob and create a /proc/sys/kernel/hardlockup_panic
> knob.
> 
> Signed-off-by: Don Zickus <dzickus@...hat.com>

Seems like with my previous stack-dumping patch + this one, we are finally 
covering all the possible combinations. Hence in principle

	Acked-by: Jiri Kosina <jkosina@...e.cz>

The build failure reported by Fengguang's bot of course needs to be fixed, 
but I think it's there for soft lockup detector as well, but Fengguang's 
.config has soft lockup detector enable, so that failure is invisible.

I guess the most straightfoward fix is to ...

[ ... snip ... ]
> index b7b9501..5e65b14 100644
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -384,6 +384,7 @@ extern int proc_dowatchdog_thresh(struct ctl_table *table, int write,
>  				  void __user *buffer,
>  				  size_t *lenp, loff_t *ppos);
>  extern unsigned int  softlockup_panic;
> +extern unsigned int  hardlockup_panic;

... those two be there only if appropriate config options are set.

Thanks,

-- 
Jiri Kosina
SUSE Labs

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ