public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander Grund <theflamefire89@gmail.com>
To: stable@vger.kernel.org
Cc: Alexander Grund <theflamefire89@gmail.com>
Subject: [PATCH 4.9 0/1] LSM: Initialize security_hook_heads upon registration.
Date: Thu, 11 Aug 2022 13:53:39 +0200	[thread overview]
Message-ID: <20220811115340.137901-1-theflamefire89@gmail.com> (raw)

This patch replaces some error-prone ~350 line long C&P initialization
code with a simple for-loop doing the same.

Conflict resolution was required due to commits missing in 4.9:
- ca97d939 (security: mark LSM hooks as __ro_after_init)
- 791ec491 (prlimit,security,selinux: add a security hook for prlimit)
- d69dece5 (LSM: Add /sys/kernel/security/lsm)

Those add new (security) features and hence are now allowed according to
the stable kernel rules. See e.g. rejection of the first patch for 4.9 in
https://lore.kernel.org/all/YsrfDfe3urGkepvJ@kroah.com/

If any of the above commits are reconsidered for 4.9 I can provide
backports of those.

Tetsuo Handa (1):
  LSM: Initialize security_hook_heads upon registration.

 security/security.c | 359 +-------------------------------------------
 1 file changed, 7 insertions(+), 352 deletions(-)

-- 
2.25.1


             reply	other threads:[~2022-08-11 11:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-11 11:53 Alexander Grund [this message]
2022-08-11 11:53 ` [PATCH 4.9 1/1] LSM: Initialize security_hook_heads upon registration Alexander Grund
2022-08-11 12:17   ` Greg KH
2022-08-12 10:50     ` Alexander Grund
2022-08-15 12:04       ` Greg KH

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=20220811115340.137901-1-theflamefire89@gmail.com \
    --to=theflamefire89@gmail.com \
    --cc=stable@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