From: Konstantin Andreev <andreev@swemel.ru>
To: Casey Schaufler <casey@schaufler-ca.com>
Cc: linux-security-module@vger.kernel.org
Subject: [PATCH v2 0/2] smack: fix two bugs in setting task label
Date: Sat, 15 Mar 2025 04:57:12 +0300 [thread overview]
Message-ID: <20250315015723.1357541-1-andreev@swemel.ru> (raw)
These two patches have distinct subjects,
but work on the same object,
security/smack/smack_lsm.c`do_setattr()
and the second patch partially overwrites first,
so I combine them in a series.
v2: see individual patches
Konstantin Andreev (2):
smack: fix bug: unprivileged task can create labels
smack: fix bug: setting task label silently ignores input garbage
Documentation/admin-guide/LSM/Smack.rst | 11 ++-
security/smack/smack.h | 3 +
security/smack/smack_access.c | 93 ++++++++++++++-----
security/smack/smack_lsm.c | 118 ++++++++++++++++--------
4 files changed, 164 insertions(+), 61 deletions(-)
--
2.43.0
next reply other threads:[~2025-03-15 1:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-15 1:57 Konstantin Andreev [this message]
2025-03-15 1:57 ` [PATCH v2 1/2] smack: fix bug: unprivileged task can create labels Konstantin Andreev
2025-03-15 1:57 ` [PATCH v2 2/2] smack: fix bug: setting task label silently ignores input garbage Konstantin Andreev
2025-06-16 1:52 ` [PATCH v2 0/2] smack: fix two bugs in setting task label Konstantin Andreev
2025-06-16 16:58 ` Casey Schaufler
2025-06-16 17:22 ` Casey Schaufler
2025-06-16 21:43 ` Konstantin Andreev
2025-06-24 23:32 ` Casey Schaufler
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=20250315015723.1357541-1-andreev@swemel.ru \
--to=andreev@swemel.ru \
--cc=casey@schaufler-ca.com \
--cc=linux-security-module@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