kernel/bpf/preload/bpf_preload.h

Source file repositories/reference/linux-study-clean/kernel/bpf/preload/bpf_preload.h

File Facts

System
Linux kernel
Corpus path
kernel/bpf/preload/bpf_preload.h
Extension
.h
Size
339 bytes
Lines
17
Domain
Core OS
Bucket
Scheduler, Processes, Timers, Sync, And Syscalls
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

struct bpf_preload_info {
	char link_name[16];
	struct bpf_link *link;
};

struct bpf_preload_ops {
	int (*preload)(struct bpf_preload_info *);
	struct module *owner;
};
extern struct bpf_preload_ops *bpf_preload_ops;
#define BPF_PRELOAD_LINKS 2
#endif

Annotation

Implementation Notes