arch/um/include/shared/ptrace_user.h

Source file repositories/reference/linux-study-clean/arch/um/include/shared/ptrace_user.h

File Facts

System
Linux kernel
Corpus path
arch/um/include/shared/ptrace_user.h
Extension
.h
Size
362 bytes
Lines
16
Domain
Architecture Layer
Bucket
arch/um
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __PTRACE_USER_H__
#define __PTRACE_USER_H__

#include <sys/ptrace.h>
#include <sysdep/ptrace_user.h>

extern int ptrace_getregs(long pid, unsigned long *regs_out);
extern int ptrace_setregs(long pid, unsigned long *regs_in);

#endif

Annotation

Implementation Notes