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
| ||
|
Date: Fri, 9 Dec 2016 21:05:45 +0100 From: SF Markus Elfring <elfring@...rs.sourceforge.net> To: Joe Perches <joe@...ches.com> Cc: linux-raid@...r.kernel.org, Shaohua Li <shli@...nel.org>, LKML <linux-kernel@...r.kernel.org>, kernel-janitors@...r.kernel.org Subject: Re: md: Combine two kmalloc() calls into one in sb_equal() > tmp1 = kmemdup(sb1, MD_SB_GENERIC_CONSTANT_WORDS * sizeof(__u32), GFP_KERNEL); Is a function available in the Linux programming interface which would duplicate the beginning of two array elements in a single call directly? Regards, Markus
Powered by blists - more mailing lists