Go to file
Artem Savkov 7f949546e9 bpf: Split off basic BPF verifier log into separate file
Bugzilla: https://bugzilla.redhat.com/2221599

commit 4294a0a7ab6282c3d92f03de84e762dda993c93d
Author: Andrii Nakryiko <andrii@kernel.org>
Date:   Thu Apr 6 16:41:47 2023 -0700

    bpf: Split off basic BPF verifier log into separate file
    
    kernel/bpf/verifier.c file is large and growing larger all the time. So
    it's good to start splitting off more or less self-contained parts into
    separate files to keep source code size (somewhat) somewhat under
    control.
    
    This patch is a one step in this direction, moving some of BPF verifier log
    routines into a separate kernel/bpf/log.c. Right now it's most low-level
    and isolated routines to append data to log, reset log to previous
    position, etc. Eventually we could probably move verifier state
    printing logic here as well, but this patch doesn't attempt to do that
    yet.
    
    Subsequent patches will add more logic to verifier log management, so
    having basics in a separate file will make sure verifier.c doesn't grow
    more with new changes.
    
    Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
    Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
    Acked-by: Lorenz Bauer <lmb@isovalent.com>
    Link: https://lore.kernel.org/bpf/20230406234205.323208-2-andrii@kernel.org

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2023-09-22 09:12:27 +02:00
Documentation bpf, docs: Add docs on extended 64-bit immediate instructions 2023-09-22 09:12:25 +02:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
arch Merge: perf: sync with upstream v6.5 2023-09-21 09:45:23 -04:00
block blk-throttle: Fix io statistics for cgroup v1 2023-09-04 11:23:22 +08:00
certs KEYS: DigitalSignature link restriction 2023-05-27 08:41:17 +08:00
crypto crypto: algboss - compile out test-related code when tests disabled 2023-09-06 08:16:46 -04:00
drivers bpf: Remove now-unnecessary NULL checks for KF_RELEASE kfuncs 2023-09-22 09:12:25 +02:00
fs Merge tag 'kernel-5.14.0-362.4.1.el9_3' from 9.3 2023-09-20 19:33:56 +02:00
include bpf: Split off basic BPF verifier log into separate file 2023-09-22 09:12:27 +02:00
init init: Provide arch_cpu_finalize_init() 2023-08-08 08:57:28 -04:00
io_uring RHEL only: mark io_uring tech preview 2023-08-14 15:33:56 -04:00
ipc ipc/shm: call underlying open/close vm_ops 2023-06-14 15:11:04 -06:00
kernel bpf: Split off basic BPF verifier log into separate file 2023-09-22 09:12:27 +02:00
lib Merge: kernel: x86/mm: Randomize per-cpu entry area [rhel-9] 2023-08-16 09:41:27 +02:00
mm Merge: mm/nvdimm: fix failure to install os on some ppc systems 2023-08-10 17:12:45 +00:00
net bpf: Teach verifier that certain helpers accept NULL pointer. 2023-09-22 09:12:26 +02:00
redhat [redhat] kernel-5.14.0-368.el9 2023-09-21 10:23:16 -04:00
samples bpf: use canonical ftrace path 2023-09-22 09:12:16 +02:00
scripts bpf: Remove extra whitespace in SPDX tag for syscall/helpers man pages 2023-09-22 09:12:27 +02:00
security Merge: io_uring: pull in fixes from upstream 2023-08-17 11:14:52 +02:00
sound Merge: ALSA: Add audio support for Dell SKU 0BDA and 0B34 2023-07-21 17:32:17 +02:00
tools selftests/bpf: Reset err when symbol name already exist in kprobe_multi_test 2023-09-22 09:12:27 +02:00
usr kbuild: rename cmd_{bzip2,lzma,lzo,lz4,xzkern,zstd22} 2023-03-24 11:18:37 -04:00
virt KVM: Grab a reference to KVM for VM and vCPU stats file descriptors 2023-08-07 17:38:06 +03:00
.clang-format PCI: Introduce pci_dev_for_each_resource() 2023-09-05 09:16:40 -06:00
.cocciconfig
.get_maintainer.conf get_maintainer.conf: Update with new location of RHMAINTAINERS 2022-01-19 14:26:16 -05:00
.get_maintainer.ignore
.gitattributes gitattributes: Remove unnecesary export restrictions 2021-08-30 10:50:35 -04:00
.gitignore kbuild: split the second line of *.mod into *.usyms 2023-03-24 17:06:53 -04:00
.gitlab-ci.yml redhat: change default dist suffix for RHEL 9.3 2023-08-29 09:45:47 +02:00
.mailmap mailmap: remove my redhat.com address from RHEL9's .mailmap file 2022-09-26 09:34:38 -04:00
COPYING
CREDITS
Kbuild
Kconfig Introduce CONFIG_RH_DISABLE_DEPRECATED 2021-08-30 10:50:55 -04:00
Kconfig.redhat Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES 2021-08-30 14:29:36 -04:00
MAINTAINERS Merge: power: TPMI UFS (Uncore Frequency Scaling) Driver 2023-09-18 12:44:37 -04:00
Makefile arch: Introduce CONFIG_FUNCTION_ALIGNMENT 2023-06-30 20:00:00 -04:00
Makefile.rhelver [redhat] kernel-5.14.0-368.el9 2023-09-21 10:23:16 -04:00
README
makefile redhat: Change Makefile target names to dist- 2021-08-30 10:50:11 -04: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.