Centos-kernel-stream-9/kernel/bpf
Yauheni Kaliuta b2847aa466 bpf: Merge printk and seq_printf VARARG max macros
Bugzilla: http://bugzilla.redhat.com/2069045

commit 335ff4990cf3bfa42d8846f9b3d8c09456f51801
Author: Dave Marchevsky <davemarchevsky@fb.com>
Date:   Fri Sep 17 11:29:03 2021 -0700

    bpf: Merge printk and seq_printf VARARG max macros
    
    MAX_SNPRINTF_VARARGS and MAX_SEQ_PRINTF_VARARGS are used by bpf helpers
    bpf_snprintf and bpf_seq_printf to limit their varargs. Both call into
    bpf_bprintf_prepare for print formatting logic and have convenience
    macros in libbpf (BPF_SNPRINTF, BPF_SEQ_PRINTF) which use the same
    helper macros to convert varargs to a byte array.
    
    Changing shared functionality to support more varargs for either bpf
    helper would affect the other as well, so let's combine the _VARARGS
    macros to make this more obvious.
    
    Signed-off-by: Dave Marchevsky <davemarchevsky@fb.com>
    Signed-off-by: Alexei Starovoitov <ast@kernel.org>
    Acked-by: Andrii Nakryiko <andrii@kernel.org>
    Link: https://lore.kernel.org/bpf/20210917182911.2426606-2-davemarchevsky@fb.com

Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
2022-06-03 17:16:14 +03:00
..
preload libbpf: Make libbpf_version.h non-auto-generated 2022-06-03 17:15:38 +03:00
Kconfig sock_map: Relax config dependency to CONFIG_NET 2022-05-12 17:29:43 +02:00
Makefile bpf: Enable task local storage for tracing programs 2021-02-26 11:51:47 -08:00
arraymap.c bpf: Fix potential race in tail call compatibility check 2022-04-29 18:17:15 +02:00
bpf_inode_storage.c bpf: Fix spelling mistakes 2021-05-24 21:13:05 -07:00
bpf_iter.c bpf: tcp: Support bpf_(get|set)sockopt in bpf tcp iter 2022-05-12 17:29:46 +02:00
bpf_local_storage.c bpf: Prevent deadlock from recursive bpf_task_storage_[get|delete] 2021-02-26 11:51:48 -08:00
bpf_lru_list.c bpf_lru_list: Read double-checked variable once without lock 2021-02-10 15:54:26 -08:00
bpf_lru_list.h
bpf_lsm.c bpf: Fix renaming task_getsecid_subj->current_getsecid_subj. 2022-05-10 16:23:33 +02:00
bpf_struct_ops.c bpf: tcp: Allow bpf-tcp-cc to call bpf_(get|set)sockopt 2022-05-12 17:29:46 +02:00
bpf_struct_ops_types.h
bpf_task_storage.c bpf: Consolidate task_struct BTF_ID declarations 2022-04-29 18:14:47 +02:00
btf.c bpf: Support for new btf kind BTF_KIND_TAG 2022-06-03 17:16:12 +03:00
cgroup.c bpf: Add support for {set|get} socket options from setsockopt BPF 2022-05-12 17:29:46 +02:00
core.c bpf: Change value of MAX_TAIL_CALL_CNT from 32 to 33 2022-04-29 18:17:17 +02:00
cpumap.c bpf: cpumap: Implement generic cpumap 2022-04-29 18:14:30 +02:00
devmap.c bpf, devmap: Exclude XDP broadcast to master device 2022-05-12 17:29:47 +02:00
disasm.c bpf: Relicense disassembler as GPL-2.0-only OR BSD-2-Clause 2022-04-29 18:17:12 +02:00
disasm.h bpf: Relicense disassembler as GPL-2.0-only OR BSD-2-Clause 2022-04-29 18:17:12 +02:00
dispatcher.c
hashtab.c bpf: Add map side support for bpf timers. 2022-04-29 18:14:31 +02:00
helpers.c bpf: Merge printk and seq_printf VARARG max macros 2022-06-03 17:16:14 +03:00
inode.c bpf: Fix regression on BPF_OBJ_GET with non-O_RDWR flags 2021-06-22 14:57:43 +02:00
local_storage.c bpf: Increase supported cgroup storage value size 2022-04-29 18:14:36 +02:00
lpm_trie.c bpf: Allow RCU-protected lookups to happen from bh context 2021-06-24 19:41:15 +02:00
map_in_map.c bpf: Remember BTF of inner maps. 2022-04-29 18:14:31 +02:00
map_in_map.h bpf: Add map_meta_equal map ops 2020-08-28 15:41:30 +02:00
map_iter.c bpf: Implement link_query callbacks in map element iterators 2020-08-21 14:01:39 -07:00
net_namespace.c
offload.c
percpu_freelist.c bpf: Use raw_spin_trylock() for pcpu_freelist_push/pop in NMI 2020-10-06 00:04:11 +02:00
percpu_freelist.h bpf: Use raw_spin_trylock() for pcpu_freelist_push/pop in NMI 2020-10-06 00:04:11 +02:00
prog_iter.c
queue_stack_maps.c bpf: Eliminate rlimit-based memory accounting for queue_stack_maps maps 2020-12-02 18:32:46 -08:00
reuseport_array.c bpf: Fix spelling mistakes 2021-05-24 21:13:05 -07:00
ringbuf.c bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc() 2021-06-28 15:57:46 +02:00
stackmap.c bpf: Consolidate task_struct BTF_ID declarations 2022-04-29 18:14:47 +02:00
syscall.c bpf: Fix potential race in tail call compatibility check 2022-04-29 18:17:15 +02:00
sysfs_btf.c bpf: Load and verify kernel module BTFs 2020-11-10 15:25:53 -08:00
task_iter.c bpf: Consolidate task_struct BTF_ID declarations 2022-04-29 18:14:47 +02:00
tnum.c bpf, tnums: Provably sound, faster, and more precise algorithm for tnum_mul 2021-06-01 13:34:15 +02:00
trampoline.c bpf: Introduce helper bpf_get_branch_snapshot 2022-06-03 17:16:11 +03:00
verifier.c Merge: bpf: update to v5.15 2022-05-26 09:27:25 +02:00