arch/x86/um/shared/sysdep/ptrace.h
Source file repositories/reference/linux-study-clean/arch/x86/um/shared/sysdep/ptrace.h
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/um/shared/sysdep/ptrace.h- Extension
.h- Size
- 1790 bytes
- Lines
- 68
- Domain
- Architecture Layer
- Bucket
- arch/x86
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
generated/user_constants.hsysdep/faultinfo.hptrace_32.hptrace_64.h
Detected Declarations
struct uml_pt_regs
Annotated Snippet
struct uml_pt_regs {
unsigned long gp[MAX_REG_NR];
struct faultinfo faultinfo;
long syscall;
int is_user;
/* Dynamically sized FP registers (holds an XSTATE) */
unsigned long fp[];
};
#define EMPTY_UML_PT_REGS { }
#define UPT_SYSCALL_NR(r) ((r)->syscall)
#define UPT_FAULTINFO(r) (&(r)->faultinfo)
#define UPT_IS_USER(r) ((r)->is_user)
extern int arch_init_registers(int pid);
#endif /* __SYSDEP_X86_PTRACE_H */
Annotation
- Immediate include surface: `generated/user_constants.h`, `sysdep/faultinfo.h`, `ptrace_32.h`, `ptrace_64.h`.
- Detected declarations: `struct uml_pt_regs`.
- Atlas domain: Architecture Layer / arch/x86.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.