Re: dm-crypt.ko external kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/05/2016 07:53 PM, Tapas Sarangi wrote:
> Is there a way to build external kernel module dm-crypt.ko that is
> not included by default in the kernel configs ? Is there any
> instruction on where to get the source tarball etc… ?

While is possible (in some configurations) to build kernel module separately
with the help of simple makefile and some kernel headers, it is not the way dmcrypt
should be used.

The reason is that code is directly dependent on internal kernel structures
and also requires some other config options (like device-mapper infrastructure,
kernel crypto API and particular kernel block layer settings).

The dmcrypt is included in the mainline kernel, there is no need for separate
source tarball, just use mainline kernel source (drivers/md/dmcrypt.c is
the module core).

Your distro must have these sources available if they are distributing binaries
(it is GPL code), so you can always compile modules from it.

Milan
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux