summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-12-24 00:08:06 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-01-04 10:27:39 -0500
commit8365a71946bb1075f5e0e6357fe0f0b92404d966 (patch)
tree028855ad2ce851dea90f1d9a58137f0a00db2929 /security/smack
parent16e5c1fc36040e592128a164499bc25eb138a80f (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud