diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-24 00:08:06 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-04 10:27:39 -0500 |
commit | 8365a71946bb1075f5e0e6357fe0f0b92404d966 (patch) | |
tree | 028855ad2ce851dea90f1d9a58137f0a00db2929 /security/smack | |
parent | 16e5c1fc36040e592128a164499bc25eb138a80f (diff) | |
download | blackbird-op-linux-8365a71946bb1075f5e0e6357fe0f0b92404d966.tar.gz blackbird-op-linux-8365a71946bb1075f5e0e6357fe0f0b92404d966.zip |
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>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions