• Al Viro's avatar
    selinuxfs: switch to memdup_user_nul() · 8365a719
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    8365a719
selinuxfs.c 41.1 KB