On Wed, Dec 22, 2021 at 3:10 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote: > > 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@xxxxxxxxxxxxxx> > --- > security/selinux/hooks.c | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) Merged into selinux/next. -- paul moore www.paul-moore.com