Go to file
Isaac J. Manjarres e1bdae2e7a lib: refcount: Cause kernel panic on refcount error detection
Currently, when using the refcount API functions,
a warning is printed out once to let a user of
the refcount API know that an error case has been
detected. Then the refcount functions will
silently return, without modifying the reference count, which
could be mistaken for a successful modification. This can
allow for improper use of the object associated with that
refcount later. Trigger a kernel panic in case of refcount
error detection to prevent misuse of objects associated with
refcounts.

Change-Id: Ifb6a331d08a7d6c285225bc9667d2f4054db3561
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
2018-12-06 11:16:48 -08:00
arch lib: refcount: Cause kernel panic on refcount error detection 2018-12-06 11:16:48 -08:00
block block: don't deal with discard limit in blkdev_issue_discard() 2018-10-18 07:23:40 -06:00
certs Merge remote-tracking branch 'origin/tmp-441e17f' into msm-kona 2018-09-05 14:58:16 -07:00
crypto crypto: cryptd - Remove VLA usage of skcipher 2018-11-07 10:03:37 -08:00
Documentation Merge "dt-bindings: usb: msm-phy: Add extcon binding for SSUSB QMP PHY" 2018-12-04 20:18:27 -08:00
drivers Merge "usb: pd: Notify USB controller every time Rp changes" 2018-12-05 15:42:24 -08:00
firmware kbuild: remove all dummy assignments to obj- 2017-11-18 11:46:06 +09:00
fs Merge "Merge remote-tracking branch 'origin/tmp-84df952' into msm-kona" 2018-11-06 02:46:19 -08:00
include cpu/hotplug: Add cpuhp_latency trace event 2018-12-05 15:43:09 -08:00
init Merge remote-tracking branch 'origin/tmp-441e17f' into msm-kona 2018-09-05 14:58:16 -07:00
ipc Merge remote-tracking branch 'origin/tmp-35a7f35' into msm-kona 2018-10-15 11:47:50 -07:00
kernel cpu/hotplug: Add cpuhp_latency trace event 2018-12-05 15:43:09 -08:00
lib lib: refcount: Cause kernel panic on refcount error detection 2018-12-06 11:16:48 -08:00
LICENSES LICENSES: Remove CC-BY-SA-4.0 license text 2018-10-18 11:28:50 +02:00
mm mm/memory_hotplug: Add hot-added memory blocks to ZONE_MOVABLE type 2018-12-04 12:47:00 -08:00
net netfilter: nf_defrag_ipv4: Add sysctl to disable per interface 2018-12-03 15:57:38 -08:00
samples samples: disable CONFIG_SAMPLES for UML 2018-10-11 02:15:46 +09:00
scripts Merge "scripts: gcc-wrapper: Clean up VLA whitelist" 2018-11-10 13:01:21 -08:00
security Merge remote-tracking branch 'origin/tmp-17b57b1' into msm-kona 2018-10-02 10:45:27 -07:00
sound sound: usb: Fix compilation error due to name change in qmi struct 2018-11-29 15:55:44 -08:00
tools Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-10-20 15:02:51 +02:00
usr initramfs: move gen_initramfs_list.sh from scripts/ to usr/ 2018-08-22 23:21:44 +09:00
virt KVM: Remove obsolete kvm_unmap_hva notifier backend 2018-09-07 15:06:02 +02:00
.clang-format clang-format: Set IndentWrappedFunctionNames false 2018-08-01 18:38:51 +02:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore ANDROID: add script to fetch android kernel config fragments 2018-08-28 16:44:09 +05:30
.mailmap libnvdimm-for-4.19_misc 2018-08-25 18:13:10 -07:00
AndroidKernel.mk ANDROID_BUILD_TOP is deprecated 2018-11-27 17:55:41 -08:00
build.config.cuttlefish.x86_64 ANDROID: build: cuttlefish: Upgrade clang to newer version. 2018-08-28 17:10:42 +05:30
build.config.goldfish.arm ANDROID: build.config: enforce trace_printk check 2018-08-28 17:10:42 +05:30
build.config.goldfish.arm64 ANDROID: build.config: enforce trace_printk check 2018-08-28 17:10:42 +05:30
build.config.goldfish.mips ANDROID: build.config: enforce trace_printk check 2018-08-28 17:10:42 +05:30
build.config.goldfish.mips64 ANDROID: build.config: enforce trace_printk check 2018-08-28 17:10:42 +05:30
build.config.goldfish.x86 ANDROID: build.config: enforce trace_printk check 2018-08-28 17:10:42 +05:30
build.config.goldfish.x86_64 ANDROID: build.config: enforce trace_printk check 2018-08-28 17:10:42 +05:30
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS 9p: remove Ron Minnich from MAINTAINERS 2018-08-17 16:20:26 -07:00
Kbuild Kbuild updates for v4.15 2017-11-17 17:45:29 -08:00
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt 2018-08-02 08:06:55 +09:00
MAINTAINERS Merge remote-tracking branch 'origin/tmp-84df952' into msm-kona 2018-10-22 12:13:36 -07:00
Makefile Merge remote-tracking branch 'origin/tmp-84df952' into msm-kona 2018-10-22 12:13:36 -07:00
README Docs: Added a pointer to the formatted docs to README 2018-03-21 09:02:53 -06:00
verity_dev_keys.x509 x86_64_cuttlefish_defconfig: enable verity cert 2018-08-28 17:15:17 +05:30

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.
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.