diff options
| author | 2025-09-04 13:40:29 +0200 | |
|---|---|---|
| committer | 2025-09-09 15:03:12 +0200 | |
| commit | f5507aefc9114ced49d1ee527f63ea12ff5d7751 (patch) | |
| tree | 2158f6e0a53ce3c6401f58a42083e1550f8034a0 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | s390/pkey: Forward keygenflags to ep11_unwrapkey (diff) | |
| download | wireguard-linux-f5507aefc9114ced49d1ee527f63ea12ff5d7751.tar.xz wireguard-linux-f5507aefc9114ced49d1ee527f63ea12ff5d7751.zip | |
s390/debug: Replace kmalloc() + copy_from_user() with memdup_user_nul()
Replace kmalloc() followed by copy_from_user() with memdup_user_nul() to
improve and simplify debug_get_user_string(). Remove the manual
NUL-termination.
No functional changes intended.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
