mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
Now that defining trusted fields in a struct is supported, we should add selftests to verify the behavior. This patch adds a few such testcases. Signed-off-by: David Vernet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
13 lines
374 B
C
13 lines
374 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */
|
|
|
|
#ifndef _NESTED_TRUST_COMMON_H
|
|
#define _NESTED_TRUST_COMMON_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
bool bpf_cpumask_test_cpu(unsigned int cpu, const struct cpumask *cpumask) __ksym;
|
|
bool bpf_cpumask_first_zero(const struct cpumask *cpumask) __ksym;
|
|
|
|
#endif /* _NESTED_TRUST_COMMON_H */
|