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: <fb352763-1ed1-2072-9cfa-bc12974892cd@linux-m68k.org>
Date:   Sat, 30 May 2020 10:59:55 +1000
From:   Greg Ungerer <gerg@...ux-m68k.org>
To:     Luc Van Oostenryck <luc.vanoostenryck@...il.com>,
        Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:     linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] fix missing handling of __user in nommu's
 uaccess()

Hi Luc,

On 30/5/20 5:02 am, Luc Van Oostenryck wrote:
> I received a bug report for an unrelated patch when used with m68k-nommu.
> It appears that the origin of the problem is that __get_user() and
> __put_user() doesn't handle correctly __user. These 2 patches fix this.
> 
> Note: this is only minimaly tested but is quite straightforward and
>        since this only change __user annotation it will not change the
>        generated code.
> 
> 
> Changes since v1:
> * fix typo: s/plan/plain/
> * appease checkpatch with better style: s/__force*/__force */
> * avoid excessive line length caused by the added cast.
> 
> Luc Van Oostenryck (2):
>    m68k,nommu: add missing __user in uaccess' __ptr() macro
>    m68k,nommu: fix implicit cast from __user in __{get,put}_user_asm()
> 
>   arch/m68k/include/asm/uaccess_no.h | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)

Looks good, thanks for the fixup.
Applied to the m68knommu git tree, for-next branch.

Regards
Greg

  

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ