commit | 8365a71946bb1075f5e0e6357fe0f0b92404d966 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Dec 24 00:08:06 2015 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jan 04 10:27:39 2016 -0500 |
tree | 028855ad2ce851dea90f1d9a58137f0a00db2929 | |
parent | 16e5c1fc36040e592128a164499bc25eb138a80f [diff] |
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>