No description
Find a file
Song Liu f108662b27 selftests/bpf: Add tests for bpf_find_vma
Add tests for bpf_find_vma in perf_event program and kprobe program. The
perf_event program is triggered from NMI context, so the second call of
bpf_find_vma() will return -EBUSY (irq_work busy). The kprobe program,
on the other hand, does not have this constraint.

Also add tests for illegal writes to task or vma from the callback
function. The verifier should reject both cases.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20211105232330.1936330-3-songliubraving@fb.com
2021-11-07 11:54:51 -08:00
arch - Do not #GP on userspace use of CLI/STI but pretend it was a NOP to 2021-11-02 07:56:47 -07:00
block for-5.16/inode-sync-2021-10-29 2021-11-01 10:25:27 -07:00
certs
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-11-01 21:24:02 -07:00
Documentation Core: 2021-11-02 06:20:58 -07:00
drivers Core: 2021-11-02 06:20:58 -07:00
fs audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
include bpf: Introduce helper bpf_find_vma 2021-11-07 11:54:51 -08:00
init Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
ipc
kernel bpf: Introduce helper bpf_find_vma 2021-11-07 11:54:51 -08:00
lib Core: 2021-11-02 06:20:58 -07:00
LICENSES
mm arm64 updates for 5.16 2021-11-01 16:33:53 -07:00
net Core: 2021-11-02 06:20:58 -07:00
samples Core: 2021-11-02 06:20:58 -07:00
scripts Core: 2021-11-02 06:20:58 -07:00
security audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
sound ALSA: usb-audio: Fix microphone sound on Jieli webcam. 2021-10-19 08:07:01 +02:00
tools selftests/bpf: Add tests for bpf_find_vma 2021-11-07 11:54:51 -08:00
usr
virt KVM: Remove tlbs_dirty 2021-09-23 11:01:12 -04:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap media updates for v5.16-rc1 2021-11-01 18:45:08 -07:00
COPYING
CREDITS MAINTAINERS: Move Daniel Drake to credits 2021-09-21 08:34:58 +03:00
Kbuild
Kconfig
MAINTAINERS Core: 2021-11-02 06:20:58 -07:00
Makefile Core: 2021-11-02 06:20:58 -07:00
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.