]> git.baikalelectronics.ru Git - kernel.git/commit
new helper: memdup_user_nul()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Dec 2015 05:06:05 +0000 (00:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jan 2016 15:20:19 +0000 (10:20 -0500)
commite96642be25ad3642d961a72d3aafd174651772a7
tree97383e40e388aa302828ffb2ddd845b257109118
parent768f436d070e4286497dbb0f8c3874a29eb703e8
new helper: memdup_user_nul()

Similar to memdup_user(), except that allocated buffer is one byte
longer and '\0' is stored after the copied data.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/string.h
mm/util.c