mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
b19c4dfb4ba77ad8b3d1bad36bca7ade56abe6ac
The generic kernel image must have module signing disabled so it can load kernel modules from all vendors. Unfortunately loading a signed kernel module into a kernel with module signing disabled will fail because struct module_layout (which appears in kernel modules) contains struct module, and struct module contains the sig_ok field, which is conditionally compiled depending on CONFIG_MODULE_SIG (module signing). Unconditionally compile the sig_ok field to work around this problem. Bug: 135940219 Test: load a signed kernel module with module signing disabled Change-Id: I5cc437c806f74f89c0e45ce4135136ca0c70738e Signed-off-by: Steve Muckle <smuckle@google.com>
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%