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: <a3e1b5a8-285b-4ed1-bbb4-7096e9efc838@I-love.SAKURA.ne.jp>
Date: Tue, 31 Dec 2024 13:13:06 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-mm <linux-mm@...ck.org>, LKML <linux-kernel@...r.kernel.org>,
        Al Viro <viro@...iv.linux.org.uk>, Denis Efremov <efremov@...ux.com>,
        Julia Lawall <Julia.Lawall@...ia.fr>, Michal Hocko <mhocko@...e.com>,
        Kees Cook <kees@...nel.org>, Vlastimil Babka <vbabka@...e.cz>
Subject: Re: [PATCH] mm/util: make memdup_user_nul() similar to memdup_user()

Would you prefer updating the description to something like below?



The only difference between memdup_user_nul() and memdup_user() should be
that the former appends trailing nul byte. Apply three changes in the
latter to the former.

  commit 6c2c97a24f09 ("memdup_user(): switch to GFP_USER")
  commit 6c8fcc096be9 ("mm: don't let userspace spam allocations warnings")
  commit d73778e4b867 ("mm/util: Use dedicated slab buckets for
                        memdup_user()")


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ