Go to file
Masahiro Yamada a06d07dd52 scripts/kallsyms: fix definitely-lost memory leak
[ Upstream commit 21915eca08 ]

build_initial_tok_table() overwrites unused sym_entry to shrink the
table size. Before the entry is overwritten, table[i].sym must be freed
since it is malloc'ed data.

This fixes the 'definitely lost' report from valgrind. I ran valgrind
against x86_64_defconfig of v5.4-rc8 kernel, and here is the summary:

[Before the fix]

  LEAK SUMMARY:
     definitely lost: 53,184 bytes in 2,874 blocks

[After the fix]

  LEAK SUMMARY:
     definitely lost: 0 bytes in 0 blocks

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 13:59:51 +01:00
Documentation USB: documentation: flags on usb-storage versus UAS 2019-12-17 20:39:03 +01:00
arch powerpc/security: Fix wrong message when RFI Flush is disable 2020-01-04 13:59:44 +01:00
block blk-mq: make sure that line break can be printed 2019-12-17 20:39:59 +01:00
certs Replace magic for trusting the secondary keyring with #define 2018-09-09 19:55:54 +02:00
crypto crypto: user - fix memory leak in crypto_report 2019-12-17 20:38:55 +01:00
drivers gpio: mpc8xxx: Don't overwrite default irq_set_type callback 2020-01-04 13:59:50 +01:00
firmware License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fs fs/quota: handle overflows of sysctl fs.quota.* and report as unsigned long 2020-01-04 13:59:43 +01:00
include scsi: target: iscsi: Wait for all commands to finish before freeing a session 2020-01-04 13:59:49 +01:00
init fork: fix some -Wmissing-prototypes warnings 2019-12-05 15:37:52 +01:00
ipc ipc/mqueue.c: only perform resource calculation if user valid 2019-08-06 19:05:24 +02:00
kernel kernel/module.c: wakeup processes in module_wq on module unload 2019-12-17 20:40:02 +01:00
lib dma-debug: add a schedule point in debug_dma_dump_mappings() 2020-01-04 13:59:39 +01:00
mm mm/shmem.c: cast the type of unmap_start to u64 2019-12-17 20:39:58 +01:00
net mac80211: consider QoS Null frames for STA_NULLFUNC_ACKED 2019-12-31 12:37:49 +01:00
samples samples: pktgen: fix proc_cmd command result check logic 2019-12-31 12:37:00 +01:00
scripts scripts/kallsyms: fix definitely-lost memory leak 2020-01-04 13:59:51 +01:00
security apparmor: fix unsigned len comparison with less than zero 2020-01-04 13:59:51 +01:00
sound ASoC: Intel: kbl_rt5663_rt5514_max98927: Add dmic format constraint 2019-12-31 12:37:38 +01:00
tools perf probe: Fix to show function entry line as probe-able 2019-12-31 12:38:08 +01:00
usr kbuild: clean compressed initramfs image 2019-10-07 18:55:14 +02:00
virt KVM: arm/arm64: vgic: Don't rely on the wrong pending table 2019-12-17 20:38:51 +01:00
.cocciconfig
.get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper 2018-02-13 10:19:46 +01:00
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address 2017-11-10 12:16:15 -08:00
COPYING
CREDITS MAINTAINERS: update TPM driver infrastructure changes 2017-11-09 17:58:40 -08:00
Kbuild License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
MAINTAINERS USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:43:20 -07:00
Makefile Linux 4.14.161 2019-12-31 12:38:09 +01:00
README README: add a new README file, pointing to the Documentation/ 2016-10-24 08:12:35 -02: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.