public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4.9 0/1] LSM: Initialize security_hook_heads upon registration.
@ 2022-08-11 11:53 Alexander Grund
  2022-08-11 11:53 ` [PATCH 4.9 1/1] " Alexander Grund
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Grund @ 2022-08-11 11:53 UTC (permalink / raw)
  To: stable; +Cc: Alexander Grund

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


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

end of thread, other threads:[~2022-08-15 12:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-11 11:53 [PATCH 4.9 0/1] LSM: Initialize security_hook_heads upon registration Alexander Grund
2022-08-11 11:53 ` [PATCH 4.9 1/1] " Alexander Grund
2022-08-11 12:17   ` Greg KH
2022-08-12 10:50     ` Alexander Grund
2022-08-15 12:04       ` Greg KH

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