verifier.c (55d30cc90fd42587594345a025b34399585e6e19) | verifier.c (3e1c6f35409f9e447bf37f64840f5b65576bfb78) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 3 * Copyright (c) 2016 Facebook 4 * Copyright (c) 2018 Covalent IO, Inc. http://covalent.io 5 */ 6#include <uapi/linux/btf.h> 7#include <linux/bpf-cgroup.h> 8#include <linux/kernel.h> --- 5296 unchanged lines hidden (view full) --- 5305BTF_ID(struct, prog_test_ref_kfunc) 5306#ifdef CONFIG_CGROUPS 5307BTF_ID(struct, cgroup) 5308#endif 5309#ifdef CONFIG_BPF_JIT 5310BTF_ID(struct, bpf_cpumask) 5311#endif 5312BTF_ID(struct, task_struct) | 1// SPDX-License-Identifier: GPL-2.0-only 2/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 3 * Copyright (c) 2016 Facebook 4 * Copyright (c) 2018 Covalent IO, Inc. http://covalent.io 5 */ 6#include <uapi/linux/btf.h> 7#include <linux/bpf-cgroup.h> 8#include <linux/kernel.h> --- 5296 unchanged lines hidden (view full) --- 5305BTF_ID(struct, prog_test_ref_kfunc) 5306#ifdef CONFIG_CGROUPS 5307BTF_ID(struct, cgroup) 5308#endif 5309#ifdef CONFIG_BPF_JIT 5310BTF_ID(struct, bpf_cpumask) 5311#endif 5312BTF_ID(struct, task_struct) |
5313BTF_ID(struct, bpf_crypto_ctx) |
|
5313BTF_SET_END(rcu_protected_types) 5314 5315static bool rcu_protected_object(const struct btf *btf, u32 btf_id) 5316{ 5317 if (!btf_is_kernel(btf)) 5318 return true; 5319 return btf_id_set_contains(&rcu_protected_types, btf_id); 5320} --- 16372 unchanged lines hidden --- | 5314BTF_SET_END(rcu_protected_types) 5315 5316static bool rcu_protected_object(const struct btf *btf, u32 btf_id) 5317{ 5318 if (!btf_is_kernel(btf)) 5319 return true; 5320 return btf_id_set_contains(&rcu_protected_types, btf_id); 5321} --- 16372 unchanged lines hidden --- |