tools/testing/selftests/bpf/prog_tests/nested_trust.c

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/prog_tests/nested_trust.c

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/prog_tests/nested_trust.c
Extension
.c
Size
388 bytes
Lines
17
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */

#include <test_progs.h>
#include "nested_trust_failure.skel.h"
#include "nested_trust_success.skel.h"
#include "nested_acquire.skel.h"

void test_nested_trust(void)
{
	RUN_TESTS(nested_trust_success);
	RUN_TESTS(nested_trust_failure);

	if (env.has_testmod)
		RUN_TESTS(nested_acquire);
}

Annotation

Implementation Notes