Skip to content

LSM: Initialize security_hook_heads upon registration.

Alexander Grund stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1LSM: Initialize security_hook_heads upon registration.security/security.c+7 -3523 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchKees Cook
1/1A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 4.9 0/1] LSM: Initialize security_hook_heads upon registration.

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/[email protected]/

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(-)
Signature · 1 line
2.25.1