Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.2-rc4 16 lines 355 B view raw
1// SPDX-License-Identifier: GPL-2.0-only 2 3#include <linux/bpf.h> 4#include <bpf/bpf_helpers.h> 5 6#define BPF_RETVAL_HOOK(name, section, ctx, expected_err) \ 7 __attribute__((__section__("?" section))) \ 8 int name(struct ctx *_ctx) \ 9 { \ 10 bpf_set_retval(bpf_get_retval()); \ 11 return 1; \ 12 } 13 14#include "cgroup_getset_retval_hooks.h" 15 16#undef BPF_RETVAL_HOOK