Go to file
Chris von Recklinghausen 0195bcf566 mm/vmalloc: add __alloc_size attributes for better bounds checking
Bugzilla: https://bugzilla.redhat.com/2120352

commit 894f24bb569afd4fe4a874c636f82d47f1c9beed
Author: Kees Cook <keescook@chromium.org>
Date:   Fri Nov 5 13:36:34 2021 -0700

    mm/vmalloc: add __alloc_size attributes for better bounds checking

    As already done in GrapheneOS, add the __alloc_size attribute for
    appropriate vmalloc allocator interfaces, to provide additional hinting
    for better bounds checking, assisting CONFIG_FORTIFY_SOURCE and other
    compiler optimizations.

    Link: https://lkml.kernel.org/r/20210930222704.2631604-7-keescook@chromium.org
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Co-developed-by: Daniel Micay <danielmicay@gmail.com>
    Signed-off-by: Daniel Micay <danielmicay@gmail.com>
    Cc: Andy Whitcroft <apw@canonical.com>
    Cc: Christoph Lameter <cl@linux.com>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Dennis Zhou <dennis@kernel.org>
    Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
    Cc: Joe Perches <joe@perches.com>
    Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
    Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
    Cc: Miguel Ojeda <ojeda@kernel.org>
    Cc: Nathan Chancellor <nathan@kernel.org>
    Cc: Nick Desaulniers <ndesaulniers@google.com>
    Cc: Pekka Enberg <penberg@kernel.org>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: Alexandre Bounine <alex.bou9@gmail.com>
    Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
    Cc: Ira Weiny <ira.weiny@intel.com>
    Cc: Jing Xiangfeng <jingxiangfeng@huawei.com>
    Cc: John Hubbard <jhubbard@nvidia.com>
    Cc: kernel test robot <lkp@intel.com>
    Cc: Matt Porter <mporter@kernel.crashing.org>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Souptick Joarder <jrdr.linux@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: Chris von Recklinghausen <crecklin@redhat.com>
2022-10-12 07:27:26 -04:00
Documentation docs: translations: zh_CN: memory-hotplug.rst: fix a typo 2022-10-12 07:27:25 -04:00
LICENSES
arch signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV) 2022-10-12 07:27:26 -04:00
block
certs
crypto random: trigger reseeding DRBG on more occasions 2022-10-04 21:28:30 +09:00
drivers mmc: sdhci-pci: Remove dead code (struct sdhci_pci_data et al) 2022-10-12 07:27:25 -04:00
fs signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV) 2022-10-12 07:27:26 -04:00
include mm/vmalloc: add __alloc_size attributes for better bounds checking 2022-10-12 07:27:26 -04:00
init
ipc
kernel signal: Add SA_IMMUTABLE to ensure forced siganls do not get changed 2022-10-12 07:27:26 -04:00
lib kasan: Extend KASAN mode kernel parameter 2022-10-12 07:27:25 -04:00
mm mm: debug_vm_pgtable: don't use __P000 directly 2022-10-12 07:27:26 -04:00
net ipv6: enable net.ipv6.route.max_size sysctl in network namespace 2022-10-12 07:27:25 -04:00
redhat redhat: configs: add CONFIG_COMMAND_LINE_SIZE to RHEL s390 configs collection 2022-10-12 07:27:22 -04:00
samples
scripts
security
sound
tools s390: remove invalid email address of Heiko Carstens 2022-10-12 07:27:14 -04:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.conf
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS MAINTAINERS: drop obsolete file pattern in SDHCI DRIVER section 2022-10-12 07:27:25 -04:00
Makefile
Makefile.rhelver [redhat] kernel-5.14.0-176.el9 2022-10-12 02:15:20 -04:00
README
makefile

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.