Linux mainline fork with MSM8998 patches | https://mainline.space | Currently supported devices: OnePlus 5/5T, Xiaomi Mi 6, F(x)tec Pro¹ (2019 QX1000 model) & Sony Xperia XZ Premium (UNTESTED!)
Find a file
Daniel Borkmann d400a6cf1c bpf: Mark PTR_TO_FUNC register initially with zero offset
Similar as with other pointer types where we use ldimm64, clear the register
content to zero first, and then populate the PTR_TO_FUNC type and subprogno
number. Currently this is not done, and leads to reuse of stale register
tracking data.

Given for special ldimm64 cases we always clear the register offset, make it
common for all cases, so it won't be forgotten in future.

Fixes: 69c087ba62 ("bpf: Add bpf_for_each_map_elem() helper")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
2022-01-19 01:21:29 +01:00
arch Power management updates for 5.17-rc1 2022-01-10 20:34:00 -08:00
block
certs
crypto
Documentation Device properties framework updates for 5.17-rc1 2022-01-10 20:48:19 -08:00
drivers Revert "net: vertexcom: default to disabled on kbuild" 2022-01-10 21:11:07 -08:00
fs Networking changes for 5.17. 2022-01-10 19:06:09 -08:00
include bpf: Generalize check_ctx_reg for reuse with other types 2022-01-19 01:21:24 +01:00
init Power management updates for 5.17-rc1 2022-01-10 20:34:00 -08:00
ipc
kernel bpf: Mark PTR_TO_FUNC register initially with zero offset 2022-01-19 01:21:29 +01:00
lib Networking changes for 5.17. 2022-01-10 19:06:09 -08:00
LICENSES
mm
net xdp: check prog type before updating BPF link 2022-01-11 09:44:06 -08:00
samples Networking changes for 5.17. 2022-01-10 19:06:09 -08:00
scripts
security
sound
tools bpf/selftests: Add check for updating XDP bpf_link with wrong program type 2022-01-11 09:44:06 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Device properties framework updates for 5.17-rc1 2022-01-10 20:48:19 -08:00
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.