[PATCH 5.10] selinux: improve error checking in sel_write_load()