Linux Security Modules development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] smack: fix two bugs in setting task label
@ 2025-03-15  1:57 Konstantin Andreev
  2025-03-15  1:57 ` [PATCH v2 1/2] smack: fix bug: unprivileged task can create labels Konstantin Andreev
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Konstantin Andreev @ 2025-03-15  1:57 UTC (permalink / raw)
  To: Casey Schaufler; +Cc: linux-security-module

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-06-24 23:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-15  1:57 [PATCH v2 0/2] smack: fix two bugs in setting task label Konstantin Andreev
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox