No description
Find a file
Masahiro Yamada 5419aa2a8d modpost: use more reliable way to get fromsec in section_rel(a)()
The section name of Rel and Rela starts with ".rel" and ".rela"
respectively (but, I do not know whether this is specification or
convention).

For example, ".rela.text" holds relocation entries applied to the
".text" section.

So, the code chops the ".rel" or ".rela" prefix to get the name of
the section to which the relocation applies.

However, I do not like to skip 4 or 5 bytes blindly because it is
potential memory overrun.

The ELF specification provides a more reliable way to do this.

 - The sh_info field holds extra information, whose interpretation
   depends on the section type

 - If the section type is SHT_REL or SHT_RELA, the sh_info field holds
   the section header index of the section to which the relocation
   applies.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2022-08-03 22:58:10 +09:00
arch kbuild: drop support for CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 2022-07-27 21:17:59 +09:00
block
certs certs: unify blacklist_hashes.c and blacklist_nohashes.c 2022-07-27 21:17:59 +09:00
crypto crypto: s390 - do not depend on CRYPTO_HW for SIMD implementations 2022-07-06 20:04:06 -07:00
Documentation docs: kbuild: fix typo 2022-07-27 21:18:00 +09:00
drivers Merge branch 'hot-fixes' (fixes for rc6) 2022-07-10 14:26:49 -07:00
fs o_uring-5.19-2022-07-09 2022-07-10 09:14:54 -07:00
include Char/Misc driver fixes for 5.19-rc6 2022-07-10 09:45:29 -07:00
init init/Kconfig: update KALLSYMS_ALL help text 2022-07-27 21:17:59 +09:00
ipc
kernel ptrace: fix clearing of JOBCTL_TRACED in ptrace_unfreeze_traced() 2022-07-09 11:06:19 -07:00
lib ida: don't use BUG_ON() for debugging 2022-07-10 13:55:49 -07:00
LICENSES
mm
net Networking fixes for 5.19-rc6, including fixes from bpf, netfilter, 2022-07-07 10:08:20 -07:00
samples
scripts modpost: use more reliable way to get fromsec in section_rel(a)() 2022-08-03 22:58:10 +09:00
security
sound ALSA: cs46xx: Fix missing snd_card_free() call at probe error 2022-07-05 17:24:05 +02:00
tools - Prepare for and clear .brk early in order to address XenPV guests 2022-07-10 08:43:52 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap cxl fixes for 5.19-rc6 2022-07-08 12:55:25 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS certs: move scripts/check-blacklist-hashes.awk to certs/ 2022-07-27 21:17:59 +09:00
Makefile kbuild: add dtbs_prepare target 2022-07-31 02:19:40 +09:00
README

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.