aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2024-09-08 09:27:45 +0000
committerChristian Brauner <[email protected]>2024-09-09 08:51:20 +0000
commit4ad5f9a021bd7e3a48a8d11c52cef36d5e05ffcc (patch)
treeba3242693078a3d20ad9b1c9eb3154b78c7af805 /rust/helpers
parentMerge patch series "proc: restrict overmounting of ephemeral entities" (diff)
downloadkernel-4ad5f9a021bd7e3a48a8d11c52cef36d5e05ffcc.tar.gz
kernel-4ad5f9a021bd7e3a48a8d11c52cef36d5e05ffcc.zip
proc: fold kmalloc() + strcpy() into kmemdup()
strcpy() will recalculate string length second time which is unnecessary in this case. Signed-off-by: Alexey Dobriyan <[email protected]> Link: https://lore.kernel.org/r/90af27c1-0b86-47a6-a6c8-61a58b8aa747@p183 Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions