Skip to content

LoadPin: Allow filesystem switch when not enforcing

Kees Cook linux-hardening linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4LoadPin: Refactor read-only check into a helpersecurity/loadpin/loadpin.c+21 -120 replies
2/4LoadPin: Refactor sysctl initializationsecurity/loadpin/loadpin.c+19 -160 replies
3/4LoadPin: Move pin reporting cleanly out of lockingsecurity/loadpin/loadpin.c+6 -90 replies
4/4LoadPin: Allow filesystem switch when not enforcingsecurity/loadpin/loadpin.c+11 -50 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSerge Hallyn
SeriesR-b
1/4
2/4
3/4
4/4

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 0/4] LoadPin: Allow filesystem switch when not enforcing

Hi,

Right now, LoadPin isn't much use on general purpose distros since modules tend to be loaded from multiple filesystems at boot (first initramfs, then real rootfs). Allow the potential mount pin to move when enforcement is not enabled.

-Kees

Kees Cook (4):
LoadPin: Refactor read-only check into a helper
LoadPin: Refactor sysctl initialization
LoadPin: Move pin reporting cleanly out of locking
LoadPin: Allow filesystem switch when not enforcing

 security/loadpin/loadpin.c | 89 ++++++++++++++++++++++----------------
 1 file changed, 52 insertions(+), 37 deletions(-)
Signature · 1 line
2.34.1