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]
Date:   Mon, 10 Sep 2018 08:34:50 +0200
From:   Martin Schwidefsky <schwidefsky@...ibm.com>
To:     zhong jiang <zhongjiang@...wei.com>
Cc:     <freude@...ux.ibm.com>, <heiko.carstens@...ibm.com>,
        <linux-s390@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] s390/zcrypt: Use kmemdup to replace kmalloc + memcpy

On Sat, 8 Sep 2018 16:50:21 +0800
zhong jiang <zhongjiang@...wei.com> wrote:

> kmemdup has implemented the function that kmalloc() + memcpy() will
> do. and we prefer to use the kmemdup rather than the open coded implementation.
> 
> Signed-off-by: zhong jiang <zhongjiang@...wei.com>
> ---
>  drivers/s390/crypto/zcrypt_msgtype6.c | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)

Applied to linux-390:features. Thanks.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ