Re: [PATCH] mm/util: make memdup_user_nul() similar to memdup_user()
From: Tetsuo Handa
Date: Mon Dec 30 2024 - 23:14:15 EST
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()")