From: Paul Moore <paul@paul-moore.com>
To: selinux@vger.kernel.org
Subject: Re: [PATCH] selinux: improve error checking in sel_write_load()
Date: Tue, 26 Mar 2024 16:42:07 -0400 [thread overview]
Message-ID: <8b302186f4c9a2ef1165cde418b92583@paul-moore.com> (raw)
In-Reply-To: <20240305031221.492421-2-paul@paul-moore.com>
On Mar 4, 2024 Paul Moore <paul@paul-moore.com> 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@paul-moore.com>
> ---
> security/selinux/selinuxfs.c | 30 ++++++++++++++++--------------
> 1 file changed, 16 insertions(+), 14 deletions(-)
Merged into selinux/dev.
--
paul-moore.com
prev parent reply other threads:[~2024-03-26 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-05 3:12 [PATCH] selinux: improve error checking in sel_write_load() Paul Moore
2024-03-08 19:52 ` Paul Moore
2024-03-26 20:42 ` Paul Moore [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b302186f4c9a2ef1165cde418b92583@paul-moore.com \
--to=paul@paul-moore.com \
--cc=selinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).