On Mar 4, 2024 Paul Moore <paul@xxxxxxxxxxxxxx> wrote: > > Move our existing input sanity checking to the top of sel_write_load() > and add a check to ensure the buffer size is non-zero. > > Move a local variable initialization from the declaration to before it > is used. > > Minor style adjustments. > > Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx> > --- > security/selinux/selinuxfs.c | 30 ++++++++++++++++-------------- > 1 file changed, 16 insertions(+), 14 deletions(-) Merged into selinux/dev. -- paul-moore.com