[PATCH 4.19 320/350] selinux: improve error checking in sel_write_load()