Function kfuncs_supported_in_syscall

Source
pub fn kfuncs_supported_in_syscall() -> Result<bool>
Expand description

Check if kernel supports calling kfuncs from SYSCALL programs. This was introduced in kernel commit a8e03b6bbb2c “bpf: Allow invoking kfuncs from BPF_PROG_TYPE_SYSCALL progs”