tools/testing/selftests/bpf/sysctl_helpers.h

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/sysctl_helpers.h

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/sysctl_helpers.h
Extension
.h
Size
264 bytes
Lines
9
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

#ifndef __SYSCTL_HELPERS_H
#define __SYSCTL_HELPERS_H

int sysctl_set(const char *sysctl_path, char *old_val, const char *new_val);
int sysctl_set_or_fail(const char *sysctl_path, char *old_val, const char *new_val);

#endif

Annotation

Implementation Notes