No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kees Cook 6d07d1cd30 usercopy: Restrict non-usercopy caches to size 0
With all known usercopied cache whitelists now defined in the
kernel, switch the default usercopy region of kmem_cache_create()
to size 0. Any new caches with usercopy regions will now need to use
kmem_cache_create_usercopy() instead of kmem_cache_create().

This patch is modified from Brad Spengler/PaX Team's PAX_USERCOPY
whitelisting code in the last public patch of grsecurity/PaX based on my
understanding of the code. Changes or omissions from the original code are
mine and don't reflect the original grsecurity/PaX code.

Cc: David Windsor <dave@nullcore.net>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Signed-off-by: Kees Cook <keescook@chromium.org>
2018-01-15 12:08:08 -08:00
arch kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl 2018-01-15 12:08:07 -08:00
block Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2017-12-01 08:05:45 -05:00
certs
crypto
Documentation hwmon fixes for v4.15-rc2 2017-12-03 10:46:16 -05:00
drivers scsi: Define usercopy region in scsi_sense_cache slab cache 2018-01-15 12:07:58 -08:00
firmware
fs cifs: Define usercopy region in cifs_request slab cache 2018-01-15 12:07:57 -08:00
include fork: Provide usercopy whitelisting for task_struct 2018-01-15 12:08:04 -08:00
init
ipc
kernel fork: Provide usercopy whitelisting for task_struct 2018-01-15 12:08:04 -08:00
lib RISC-V Cleanups and ABI Fixes for 4.15-rc2 2017-12-01 19:39:12 -05:00
mm usercopy: Restrict non-usercopy caches to size 0 2018-01-15 12:08:08 -08:00
net net: Restrict unwhitelisted proto caches to size 0 2018-01-15 12:08:02 -08:00
samples
scripts
security usercopy: Allow strict enforcement of whitelists 2018-01-15 12:07:48 -08:00
sound
tools usercopy: Enhance and rename report_usercopy() 2018-01-15 12:07:44 -08:00
usr
virt kvm: whitelist struct kvm_vcpu_arch 2018-01-15 12:08:07 -08:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS hwmon fixes for v4.15-rc2 2017-12-03 10:46:16 -05:00
Makefile Linux 4.15-rc2 2017-12-03 11:01:47 -05:00
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

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.