commit | 6cd9d4b97891560b61681cad9cc4307ce0719abc | [log] [tgz] |
---|---|---|
author | Paul Moore <paul@paul-moore.com> | Tue Dec 21 15:01:29 2021 -0500 |
committer | Paul Moore <paul@paul-moore.com> | Tue Dec 21 15:14:45 2021 -0500 |
tree | 8ac54651f2ec6ce826eb6bfe4190ef0247f65b71 | |
parent | 2e08df3c7c4e4e74e3dd5104c100f0bf6288aaa8 [diff] |
selinux: minor tweaks to selinux_add_opt() Two minor edits to selinux_add_opt(): use "sizeof(*ptr)" instead of "sizeof(type)" in the kzalloc() call, and rename the "Einval" jump target to "err" for the sake of consistency. Signed-off-by: Paul Moore <paul@paul-moore.com>