Searched hist:"8365 a719" (Results 1 – 1 of 1) sorted by relevance
/linux/security/selinux/ |
H A D | selinuxfs.c | diff 8365a719 Thu Dec 24 05:08:06 GMT 2015 Al Viro <viro@zeniv.linux.org.uk> selinuxfs: switch to memdup_user_nul()
Nothing in there gives a damn about the buffer alignment - it just parses its contents. So the use of get_zeroed_page() doesn't buy us anything - might as well had been kmalloc(), which makes that code equivalent to open-coded memdup_user_nul()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|