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: <20160722124618.GC17821@e104818-lin.cambridge.arm.com>
Date:	Fri, 22 Jul 2016 13:46:19 +0100
From:	Catalin Marinas <catalin.marinas@....com>
To:	Vegard Nossum <vegard.nossum@...cle.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kmemleak: don't hang if user disables scanning early

On Mon, Jul 18, 2016 at 11:43:25AM +0200, Vegard Nossum wrote:
> If the user tries to disable automatic scanning early in the boot
> process using e.g.:
> 
>   echo scan=off > /sys/kernel/debug/kmemleak
> 
> then this command will hang until SECS_FIRST_SCAN (= 60) seconds have
> elapsed, even though the system is fully initialised.
> 
> We can fix this using interruptible sleep and checking if we're
> supposed to stop whenever we wake up (like the rest of the code does).
> 
> Signed-off-by: Vegard Nossum <vegard.nossum@...cle.com>

Acked-by: Catalin Marinas <catalin.marinas@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ