• Ondrej Kozina's avatar
    Detect kernel version for dm-crypt kernel key bugfix. · 598dd672
    Ondrej Kozina authored
    When loading first dm-crypt table (or action that triggers dm-crypt
    module load) we do not know dm-crypt version yet. Let's assume all
    kernels before 4.15.0 are flawed and reject VK load via kernel keyring
    When dm-crypt is already in kernel, check for correct target version
    instead (v1.18.1 or later).
internal.h 7.91 KB