diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-24 06:08:06 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-04 16:27:39 +0100 |
commit | 8365a71946bb1075f5e0e6357fe0f0b92404d966 (patch) | |
tree | 028855ad2ce851dea90f1d9a58137f0a00db2929 /security/lsm_audit.c | |
parent | convert a bunch of open-coded instances of memdup_user_nul() (diff) | |
download | linux-8365a71946bb1075f5e0e6357fe0f0b92404d966.tar.xz 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/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions