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] [thread-next>] [day] [month] [year] [list]
Message-ID: <d09f4a9a-f966-80d7-01e1-5d92401b5d7e@gmx.de>
Date:   Tue, 8 Jan 2019 08:44:19 +0100
From:   Helge Deller <deller@....de>
To:     Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
        "James E . J . Bottomley" <jejb@...isc-linux.org>
Cc:     linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org,
        Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: Re: [PATCH] parisc: replace oops_in_progress manipulation with
 bust_spinlocks()

On 07.01.19 10:56, Sergey Senozhatsky wrote:
> Use bust_spinlocks() function to set oops_in_progress.
> 
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@...il.com>

I've added this patch to the parisc for-next tree.

Thanks,
Helge


> ---
>  arch/parisc/kernel/traps.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
> index 472a818e8c17..7e1ccafadf57 100644
> --- a/arch/parisc/kernel/traps.c
> +++ b/arch/parisc/kernel/traps.c
> @@ -218,7 +218,7 @@ void die_if_kernel(char *str, struct pt_regs *regs, long err)
>  		return;
>  	}
>  
> -	oops_in_progress = 1;
> +	bust_spinlocks(1);
>  
>  	oops_enter();
>  
> @@ -396,7 +396,7 @@ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
>  {
>  	static DEFINE_SPINLOCK(terminate_lock);
>  
> -	oops_in_progress = 1;
> +	bust_spinlocks(1);
>  
>  	set_eiem(0);
>  	local_irq_disable();
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ