include/uapi/linux/elf-fdpic.h

Source file repositories/reference/linux-study-clean/include/uapi/linux/elf-fdpic.h

File Facts

System
Linux kernel
Corpus path
include/uapi/linux/elf-fdpic.h
Extension
.h
Size
1636 bytes
Lines
51
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

struct elf32_fdpic_loadseg {
	Elf32_Addr	addr;		/* core address to which mapped */
	Elf32_Addr	p_vaddr;	/* VMA recorded in file */
	Elf32_Word	p_memsz;	/* allocation size recorded in file */
};

struct elf32_fdpic_loadmap {
	Elf32_Half	version;	/* version of these structures, just in case... */
	Elf32_Half	nsegs;		/* number of segments */
	struct elf32_fdpic_loadseg segs[];
};

#define ELF32_FDPIC_LOADMAP_VERSION	0x0000

/* segment mappings for ELF FDPIC libraries/executables/interpreters */
struct elf64_fdpic_loadseg {
	Elf64_Addr	addr;		/* core address to which mapped */
	Elf64_Addr	p_vaddr;	/* VMA recorded in file */
	Elf64_Word	p_memsz;	/* allocation size recorded in file */
};

struct elf64_fdpic_loadmap {
	Elf64_Half	version;	/* version of these structures, just in case... */
	Elf64_Half	nsegs;		/* number of segments */
	struct elf64_fdpic_loadseg segs[];
};

#define ELF64_FDPIC_LOADMAP_VERSION	0x0000

#endif /* _UAPI_LINUX_ELF_FDPIC_H */

Annotation

Implementation Notes