include/linux/text-patching.h

Source file repositories/reference/linux-study-clean/include/linux/text-patching.h

File Facts

System
Linux kernel
Corpus path
include/linux/text-patching.h
Extension
.h
Size
349 bytes
Lines
16
Domain
Core OS
Bucket
Core Kernel Interface
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

#ifndef _LINUX_TEXT_PATCHING_H
#define _LINUX_TEXT_PATCHING_H

#include <asm/text-patching.h>

#ifndef text_poke_copy
static inline void *text_poke_copy(void *dst, const void *src, size_t len)
{
	return memcpy(dst, src, len);
}
#define text_poke_copy text_poke_copy
#endif

#endif /* _LINUX_TEXT_PATCHING_H */

Annotation

Implementation Notes