Go to file
Kuniyuki Iwashima 4d89b2a410 af_unix: Remove put_pid()/put_cred() in copy_peercred().
BugLink: https://bugs.launchpad.net/bugs/2081278

[ Upstream commit e4bd881d987121dbf1a288641491955a53d9f8f7 ]

When (AF_UNIX, SOCK_STREAM) socket connect()s to a listening socket,
the listener's sk_peer_pid/sk_peer_cred are copied to the client in
copy_peercred().

Then, the client's sk_peer_pid and sk_peer_cred are always NULL, so
we need not call put_pid() and put_cred() there.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-09-27 10:50:31 +02:00
Documentation PM / devfreq: Fix buffer overflow in trans_stat_show 2024-09-27 10:50:28 +02:00
LICENSES
arch openrisc: Call setup_memory() earlier in the init sequence 2024-09-27 10:50:25 +02:00
block block: initialize integrity buffer to zero before writing it to media 2024-09-27 10:50:30 +02:00
certs
crypto crypto: aead, cipher - zeroize key buffer after use 2024-09-27 10:50:29 +02:00
debian
debian.master UBUNTU: Upstream stable to v5.4.283 2024-09-27 10:50:28 +02:00
drivers irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1 2024-09-27 10:50:31 +02:00
fs nilfs2: fix state management in error path of log writing function 2024-09-27 10:50:31 +02:00
include i2c: Use IS_REACHABLE() for substituting empty ACPI functions 2024-09-27 10:50:30 +02:00
init
ipc
kernel cgroup/cpuset: Prevent UAF in proc_cpuset_show() 2024-09-27 10:50:27 +02:00
lib overflow: Implement size_t saturating arithmetic helpers 2024-09-27 10:50:22 +02:00
mm memcg_write_event_control(): fix a user-triggerable oops 2024-09-27 10:50:22 +02:00
net af_unix: Remove put_pid()/put_cred() in copy_peercred(). 2024-09-27 10:50:31 +02:00
samples
scripts kbuild: Fix '-S -c' in x86 stack protector scripts 2024-09-27 10:50:21 +02:00
security smack: unix sockets: fix accept()ed socket label 2024-09-27 10:50:31 +02:00
sound ALSA: hda: Add input value sanity checks to HDMI channel map controls 2024-09-27 10:50:31 +02:00
tools tools: move alignment-related macros to new <linux/align.h> 2024-09-27 10:50:27 +02:00
ubuntu
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.4.283 2024-09-27 10:50:28 +02:00
README
Ubuntu.md
dropped.txt
snapcraft.yaml

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.