···11+=======22+LoadPin33+=======44+15LoadPin is a Linux Security Module that ensures all kernel-loaded files26(modules, firmware, etc) all originate from the same filesystem, with37the expectation that such a filesystem is backed by a read-only device···95and/or unchangeable filesystem to enforce module and firmware loading106restrictions without needing to sign the files individually.1171212-The LSM is selectable at build-time with CONFIG_SECURITY_LOADPIN, and88+The LSM is selectable at build-time with ``CONFIG_SECURITY_LOADPIN``, and139can be controlled at boot-time with the kernel command line option1414-"loadpin.enabled". By default, it is enabled, but can be disabled at1515-boot ("loadpin.enabled=0").1010+"``loadpin.enabled``". By default, it is enabled, but can be disabled at1111+boot ("``loadpin.enabled=0``").16121713LoadPin starts pinning when it sees the first file loaded. If the1814block device backing the filesystem is not read-only, a sysctl is1919-created to toggle pinning: /proc/sys/kernel/loadpin/enabled. (Having1515+created to toggle pinning: ``/proc/sys/kernel/loadpin/enabled``. (Having2016a mutable filesystem means pinning is mutable too, but having the2117sysctl allows for easy testing on systems with a mutable filesystem.)